//
// cocos2d::ccArraySwapObjectsAtIndexes from 0xd91e20 to 0xd91e3c (28 bytes)
//
// 4 xrefs:
// > cocos2d::CCArray::exchangeObject @ 0xd474d8
// > cocos2d::CCArray::exchangeObjectAtIndex @ 0xd474ec
// > cocos2d::CCArray::reverseObjects @ 0xd47588
// > ??> @ 0xeea80
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:19 +0000
//
__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;
}