// // cocos2d::ccArrayNew from 0x5ec4f8 to 0x5ec524 (44 bytes) // // 4 xrefs: // > cocos2d::CCScheduler::scheduleSelector @ 0x5ae5c4 // > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x5b9406 // > cocos2d::CCArray::initWithCapacity @ 0x5c1de8 // > cocos2d::CCParallaxNode::CCParallaxNode @ 0x5f6ce0 // // 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 // _DWORD *__fastcall cocos2d::ccArrayNew(cocos2d *this, unsigned int a2) { cocos2d *v2; // r5 _DWORD *v3; // r4 void *v4; // r0 if ( this ) v2 = this; else v2 = (cocos2d *)(&dword_0 + 1); v3 = malloc(0x10u); *v3 = 0; v4 = calloc((size_t)v2, 4u); v3[1] = v2; v3[2] = -1; v3[3] = v4; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source