// // cocos2d::CCArray::exchangeObject from 0x5c2152 to 0x5c2180 (46 bytes) // // 0 xrefs: // // 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 // unsigned int __fastcall cocos2d::CCArray::exchangeObject( cocos2d::CCArray *this, cocos2d::_ccArray *a2, cocos2d::CCObject *a3) { unsigned int result; // r0 cocos2d::_ccArray *v6; // r5 result = cocos2d::ccArrayGetIndexOfObject((cocos2d *)this->data, a2, a3); v6 = (cocos2d::_ccArray *)result; if ( result != -1 ) { result = cocos2d::ccArrayGetIndexOfObject( (cocos2d *)this->data, (cocos2d::_ccArray *)a3, (cocos2d::CCObject *)(result + 1)); if ( result != -1 ) return cocos2d::ccArraySwapObjectsAtIndexes((cocos2d *)this->data, v6, result, result + 1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source