#include "game_types.h"

/* Sub_08010494 @ 0x08010494 (real 30B) -- 5-arg field packer (flag 2, slot +0xA38). Mirrors src/matched/Sub_08010494.c. */
/* 5-arg field packer: raises flag 2 at base+0xA34 and fills the 4-word slot
   at base+0xA38 as (c, b, e, a). e arrives on the caller's stack. */
void Sub_08010494(int *base, int a, int b, int c, int e)
{
    *(int *)((char *)base + 0xA34) = 2;
    int *q = (int *)((char *)base + 0xA38);
    q[0] = c;
    q[1] = b;
    q[2] = e;
    q[3] = a;
}
