//
// swapAlphaChannel from 0x7ec14c to 0x7ec190 (68 bytes)
//
// 1 xrefs:
// > cocos2d::CCImage::initWithStringShadowStroke @ 0x7ec816
//
// 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 12:01:00 +0000
//
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;
}