#include "game_types.h"

/* Sound_PlayIndexedPattern @ 0x080106A8 (real 34B) -- indexed pattern forward. Mirrors src/matched/Sound_PlayIndexedPattern.c. */
/* Forwards (a, a + c*64 + 5152 + b*2, e, d) into PlayChannelPattern; the
   5th arg arrives on the caller stack. */
extern void Sound_PlayChannelPattern(int a, int b, int c, int d);

void Sound_PlayIndexedPattern(int a, int b, int c, int d, int e)
{
    Sound_PlayChannelPattern(a, a + (c << 6) + 5152 + (b << 1), e, d);
}
