//
// sub_18009E0B0 from 0x18009e0b0 to 0x18009e0d9 (41 bytes)
//
// 3 xrefs:
// > cocos2d::CCArray::exchangeObject @ 0x180006e7f
// > cocos2d::CCArray::exchangeObjectAtIndex @ 0x180006ea4
// > cocos2d::CCArray::reverseObjects @ 0x1800072e9
//
// 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 sub_18009E0B0(__int64 a1, unsigned int a2, unsigned int a3)
{
__int64 v3; // r10
__int64 v4; // r11
_QWORD *v5; // r9
__int64 v6; // rdx
__int64 result; // rax
v3 = *(_QWORD *)(a1 + 16);
v4 = *(_QWORD *)(v3 + 8LL * a2);
v5 = (_QWORD *)(v3 + 8LL * a2);
v6 = 8LL * a3;
*v5 = *(_QWORD *)(v6 + v3);
result = *(_QWORD *)(a1 + 16);
*(_QWORD *)(v6 + result) = v4;
return result;
}