//
// cocos2d::ccArraySwapObjectsAtIndexes from 0xb212bc to 0xb212d8 (28 bytes)
//
// 4 xrefs:
// > cocos2d::CCArray::exchangeObject @ 0xad46b8
// > cocos2d::CCArray::exchangeObjectAtIndex @ 0xad46cc
// > cocos2d::CCArray::reverseObjects @ 0xad4768
// > ??> @ 0xb6be0
//
// 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 cocos2d::ccArraySwapObjectsAtIndexes(__int64 a1, unsigned int a2, unsigned int a3)
{
__int64 v3; // x3
__int64 v4; // x4
__int64 result; // x0
v3 = *(_QWORD *)(a1 + 16);
v4 = *(_QWORD *)(v3 + 8LL * a2);
*(_QWORD *)(v3 + 8LL * a2) = *(_QWORD *)(v3 + 8LL * a3);
result = *(_QWORD *)(a1 + 16);
*(_QWORD *)(result + 8LL * a3) = v4;
return result;
}