//
// swapAlphaChannel from 0xb0d750 to 0xb0d7c4 (116 bytes)
//
// 2 xrefs:
// > cocos2d::CCImage::initWithStringShadowStroke @ 0xb0dab4
// > ??> @ 0x98778
//
// 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
//
__int64 __fastcall swapAlphaChannel(unsigned int *a1, unsigned int a2)
{
__int64 i; // x3
for ( i = 0; a2 > (unsigned int)i; ++i )
a1[i] = (HIBYTE(a1[i]) << 16) | (a1[i] << 24) | (unsigned __int8)BYTE1(a1[i]) | ((unsigned __int8)BYTE2(a1[i]) << 8);
return _stack_chk_guard;
}