void Sub_0801315C(void) __attribute__((naked));
void Sub_0801315C(void)
{
  __asm__ volatile(
  ".syntax unified\n"
  ".thumb\n"
  "mov ip, lr\n"
  ".hword 0xF7FF, 0xFF67\n"
  "strb r3, [r1, #15]\n"
  "ldrb r3, [r1, #0]\n"
  "movs r2, #12\n"
  "orrs r3, r2\n"
  "strb r3, [r1, #0]\n"
  "bx ip\n"
  ".hword 0x0000\n"
  ::: "r0","r1","r2","r3","memory");
}
