//
// premultiplyAlpha from 0x3f2ba8 to 0x3f2bdc (52 bytes)
//
// 1 xrefs:
// > CCSpriteWithHue::updateColorMatrix @ 0x3f2bfc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:47:15 +0000
//
float *__fastcall premultiplyAlpha(float *result, float a2)
{
float *v2; // r3
float v3; // s15
v2 = result + 9;
do
{
v3 = *result;
result += 3;
*(result - 3) = v3 * a2;
*(result - 2) = *(result - 2) * a2;
*(result - 1) = *(result - 1) * a2;
}
while ( result != v2 );
return result;
}