#include "game_types.h"

/* Image_DrawBlended @ 0x08012FFC (real 22B) -- filters 36 words through Passthrough2 into dst. Mirrors src/matched/Image_DrawBlended.c. */
/* Filters 36 words through the shared Image_Passthrough2 entry into dst
   (post-increment), advancing src. The working value travels in r3; the
   epilogue uses bx r12. */
extern int Image_Passthrough2(int *dst, int *src, int v);

void Image_DrawBlended(int *dst, int *src)
{
    int v = src[0];
    int i = 36;
    do {
        v = Image_Passthrough2(dst, src, v);
        *dst++ = v;
        src++;
    } while (--i > 0);
}
