#include "game_types.h"

/* Sub_080116E8 @ 0x080116E8 (real 38B) -- conditional gap-call on EWRAM flag. Mirrors src/matched/Sub_080116E8.c. */
/* When the flag at 0x02000170 is zero, issues the gap call with
   (0x0802B748, 130, 0x0802B758, 1). The raw bl bytes (F003/FE76) decode
   outside ROM -- an unmapped-gap callee, recorded exactly as bytes in the
   matched twin. */
extern void Sub_080116E8_GapCall(int a, int b, int c, int d);

void Sub_080116E8(void)
{
    if (*(int *)0x02000170 == 0)
        Sub_080116E8_GapCall(0x0802B748, 130, 0x0802B758, 1);
}
