#include "game_types.h"

/* Sub_08004984 @ 0x08004984 (real 12B) -- halfword table read keyed by caller-frame byte. Mirrors src/matched/Sub_08004984.c. */
/* Reads a halfword from address (caller-frame byte at +4) + 136. The index
   arrives via the caller's frame pointer (r7) by hand-asm convention. */
int Sub_08004984(unsigned frame)
{
    return *(short *)(*(unsigned char *)(frame + 4) + 136);
}
