// // cocos2d::ccArrayDoubleCapacity from 0x5ec524 to 0x5ec53a (22 bytes) // // 3 xrefs: // > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x5b941a // > cocos2d::ccArrayEnsureExtraCapacity @ 0x5ec54c // > cocos2d::ccCArrayDoubleCapacity @ 0x5ec9d4 // // 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::ccArrayDoubleCapacity(int a1) { int v1; // r1 void *result; // r0 v1 = *(_DWORD *)(a1 + 4); *(_DWORD *)(a1 + 4) = 2 * v1; result = realloc(*(void **)(a1 + 12), 8 * v1); *(_DWORD *)(a1 + 12) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source