#include "game_types.h"

/* Sound_InitChannelParams @ 0x080108D0 (real 68B) -- packs 6 args into the channel buffer. Mirrors src/matched/Sound_InitChannelParams.c. */
/* Packs (buf, a, b, c, d, e) as buf[] = {c, b, (e<<5)+d, c<<5};
   d/e arrive on the caller stack. Callers pass d twice (4th reg + 5th). */
void Sound_InitChannelParams(int *buf, int a, int b, int c, int d, int e)
{
    (void)a;
    buf[0] = c;
    buf[1] = b;
    buf[2] = (e << 5) + d;
    buf[3] = c << 5;
}
