//
// cocos2d::ccArraySwapObjectsAtIndexes from 0x5ec700 to 0x5ec718 (24 bytes)
//
// 3 xrefs:
// > cocos2d::CCArray::exchangeObject @ 0x5c217a
// > cocos2d::CCArray::exchangeObjectAtIndex @ 0x5c2182
// > cocos2d::CCArray::reverseObjects @ 0x5c21d0
//
// 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 cocos2d::ccArraySwapObjectsAtIndexes(int result, int a2, int a3)
{
int v3; // r3
int v4; // r4
v3 = *(_DWORD *)(result + 12);
v4 = *(_DWORD *)(v3 + 4 * a2);
*(_DWORD *)(v3 + 4 * a2) = *(_DWORD *)(v3 + 4 * a3);
*(_DWORD *)(*(_DWORD *)(result + 12) + 4 * a3) = v4;
return result;
}