//
// swapAlphaChannel from 0x5e26c0 to 0x5e2704 (68 bytes)
//
// 1 xrefs:
// > cocos2d::CCImage::initWithStringShadowStroke @ 0x5e27a0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int *__fastcall swapAlphaChannel(int *result, unsigned int a2)
{
int i; // r6
for ( i = 0; i != a2; ++i )
{
*result = (unsigned __int8)BYTE1(*result)
| (HIBYTE(*result) << 16)
| (*result << 24)
| ((unsigned __int8)BYTE2(*result) << 8);
++result;
}
return result;
}