#include "game_types.h"

/* Sub_08010D5C @ 0x08010D5C (real 48B) -- mailbox write of state + halfword pair. Mirrors src/matched/Sub_08010D5C.c. */
/* Writes the state pointer and the (x, y) halfwords into the EWRAM mailbox
   at 0x02000148/4C/4E. */
void Sub_08010D5C(int *p, int x, int y)
{
    *(int *)0x02000148 = (int)p;
    *(unsigned short *)0x0200014C = (unsigned short)x;
    *(unsigned short *)0x0200014E = (unsigned short)y;
}
