// // cocos2d::CCArray::copyWithZone from 0x5c2080 to 0x5c20d6 (86 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 // cocos2d::CCArray *__fastcall cocos2d::CCArray::copyWithZone(cocos2d::CCArray *this, cocos2d::CCZone *a2) { cocos2d::CCArray *v3; // r6 cocos2d::_ccArray **num; // r1 cocos2d::ccArray *data; // r2 cocos2d::CCObject **arr; // r5 cocos2d::CCObject **v7; // r4 cocos2d::CCObject *v8; // r0 cocos2d::CCObject *v9; // t1 cocos2d::_ccArray *v10; // r7 cocos2d::CCObject *v11; // r2 v3 = (cocos2d::CCArray *)operator new(0x38u); cocos2d::CCArray::CCArray(v3); num = (cocos2d::_ccArray **)this->data->num; if ( !num ) num = (cocos2d::_ccArray **)(&dword_0 + 1); cocos2d::CCArray::initWithCapacity(v3, num); data = this->data; if ( data->num ) { arr = data->arr; v7 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v7 ) { v9 = *arr++; v8 = v9; if ( !v9 ) break; v10 = (cocos2d::_ccArray *)cocos2d::CCObject::copy(v8); cocos2d::CCArray::addObject(v3, v10, v11); cocos2d::CCObject::release((cocos2d::CCObject *)v10); } } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source