#include "game_types.h"

/* Sub_08004784 @ 0x08004784 (real 38B) -- three-way compare of halfwords at +136. Mirrors src/matched/Sub_08004784.c. */
/* Three-way compare of the halfwords at a+136 vs b+136. */
int Sub_08004784(char *a, char *b)
{
    short x = *(short *)(a + 136);
    short y = *(short *)(b + 136);
    if (x < y)
        return -1;
    if (x != y)
        return 1;
    return 0;
}
