//
// cocos2d::CCArray::exchangeObject from 0x180006e40 to 0x180006e94 (84 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad96c
//
// 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
//
void __fastcall cocos2d::CCArray::exchangeObject(
cocos2d::CCArray *this,
struct cocos2d::CCObject *a2,
struct cocos2d::CCObject *a3)
{
unsigned int v5; // edi
unsigned int v6; // eax
v5 = sub_18009DAC0(this->data, a2);
if ( v5 != -1 )
{
v6 = sub_18009DAC0(this->data, a3);
if ( v6 != -1 )
sub_18009E0B0(this->data, v5, v6);
}
}