#include "game_types.h"

/* Sub_08010D98 @ 0x08010D98 (real 90B) -- stamps 512 across limit halfword slots. Mirrors src/matched/Sub_08010D98.c. */
/* Writes 512 into limit halfword slots at 8-byte stride from the mailbox
   table (limit itself from 0x0200014C). */
void Sub_08010D98(int unused)
{
    int *p = *(int **)0x02000148;
    int limit = *(unsigned short *)0x0200014C;
    int i;
    (void)unused;
    for (i = 0; i < limit; i++)
        *(unsigned short *)((char *)p + i * 8) = 512;
}
