// // cocos2d::CCArray::exchangeObject from 0xad4664 to 0xad46c8 (100 bytes) // // 1 xrefs: // > @ 0x86a18 // // 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::CCArray::exchangeObject( cocos2d::CCArray *this, cocos2d::_ccArray *a2, cocos2d::CCObject *a3) { __int64 result; // x0 unsigned int v5; // w20 unsigned int v6; // w3 result = cocos2d::ccArrayGetIndexOfObject((cocos2d *)this->data, a2, a3); v5 = result; if ( (_DWORD)result != -1 ) { result = cocos2d::ccArrayGetIndexOfObject((cocos2d *)this->data, (cocos2d::_ccArray *)a3, a3); if ( (_DWORD)result != -1 ) return cocos2d::ccArraySwapObjectsAtIndexes((cocos2d *)this->data, (cocos2d::_ccArray *)v5, result, v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source