// // cocos2d::CCArray::copyWithZone from 0xd4730c to 0xd473b0 (164 bytes) // // 3 xrefs: // > @ 0xa2fa0 // > @ 0x150f040 // > @ 0x1516530 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:07:35 +0000 // cocos2d::CCArray *__fastcall cocos2d::CCArray::copyWithZone(cocos2d::CCArray *this, cocos2d::CCZone *a2) { cocos2d::CCArray *v3; // x22 unsigned int v4; // w1 unsigned int *v5; // x1 cocos2d::CCObject **v6; // x19 cocos2d::CCObject **v7; // x21 cocos2d::CCObject *v8; // x20 v3 = (cocos2d::CCArray *)operator new(0x40u); cocos2d::CCArray::CCArray(v3); v4 = **((_DWORD **)this + 7); if ( !v4 ) v4 = 1; cocos2d::CCArray::initWithCapacity(v3, v4); v5 = *((unsigned int **)this + 7); if ( *v5 ) { v6 = *((cocos2d::CCObject ***)v5 + 2); v7 = &v6[*v5 - 1]; while ( v7 >= v6 ) { if ( !*v6 ) break; v8 = (cocos2d::CCObject *)cocos2d::CCObject::copy(*v6++); cocos2d::CCArray::addObject(v3, v8); cocos2d::CCObject::release(v8); } } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source