// // cocos2d::ccArrayInsertObjectAtIndex from 0x5ec676 to 0x5ec6b0 (58 bytes) // // 2 xrefs: // > cocos2d::CCArray::insertObject @ 0x5c210a // > cocos2d::CCArray::replaceObjectAtIndex @ 0x5c2192 // // 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::ccArrayInsertObjectAtIndex(_DWORD *a1, cocos2d::CCObject *a2, int a3) { cocos2d::ccArrayEnsureExtraCapacity(a1, 1); if ( *a1 != a3 ) memmove((void *)(4 * (a3 + 1) + a1[3]), (const void *)(4 * (a3 + 1) - 4 + a1[3]), 4 * (*a1 - a3)); cocos2d::CCObject::retain(a2); *(_DWORD *)(a1[3] + 4 * a3) = a2; ++*a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source