// // GameLevelManager::firstSetup from 0x4aa8fc to 0x4aab1c (544 bytes) // // 1 xrefs: // > GameManager::firstLoad @ 0x418096 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:49:58 +0000 // cocos2d::CCObject *__fastcall GameLevelManager::firstSetup(cocos2d::CCObject **this) { cocos2d::CCObject *v2; // r0 cocos2d::CCObject *v3; // r5 cocos2d::CCObject *v4; // r5 cocos2d::CCObject *v5; // r5 cocos2d::CCObject *v6; // r5 cocos2d::CCObject *v7; // r5 cocos2d::CCObject *v8; // r5 cocos2d::CCObject *v9; // r5 cocos2d::CCObject *v10; // r5 cocos2d::CCObject *v11; // r5 cocos2d::CCObject *v12; // r0 cocos2d::CCObject *v13; // r5 cocos2d::CCObject *v14; // r0 cocos2d::CCObject *v15; // r5 cocos2d::CCObject *v16; // r0 cocos2d::CCObject *v17; // r5 cocos2d::CCObject *v18; // r0 cocos2d::CCObject *v19; // r5 cocos2d::CCObject *v20; // r0 cocos2d::CCObject *v21; // r0 cocos2d::CCObject *result; // r0 cocos2d::CCObject *v23; // r5 v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create((cocos2d::CCDictionary *)this); v3 = v2; if ( *(this + 134) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v2 = *(this + 134); if ( v2 ) v2 = (cocos2d::CCObject *)cocos2d::CCObject::release(v2); *(this + 134) = v3; } if ( !*(this + 140) ) { v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2); v4 = v2; if ( *(this + 140) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v2 = *(this + 140); if ( v2 ) v2 = (cocos2d::CCObject *)cocos2d::CCObject::release(v2); *(this + 140) = v4; } } if ( !*(this + 135) ) { v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2); v5 = v2; if ( *(this + 135) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v2 = *(this + 135); if ( v2 ) v2 = (cocos2d::CCObject *)cocos2d::CCObject::release(v2); *(this + 135) = v5; } } if ( !*(this + 142) ) { v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2); v6 = v2; if ( *(this + 142) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v2 = *(this + 142); if ( v2 ) v2 = (cocos2d::CCObject *)cocos2d::CCObject::release(v2); *(this + 142) = v6; } } if ( !*(this + 143) ) { v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2); v7 = v2; if ( *(this + 143) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v2 = *(this + 143); if ( v2 ) v2 = (cocos2d::CCObject *)cocos2d::CCObject::release(v2); *(this + 143) = v7; } } if ( !*(this + 144) ) { v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2); v8 = v2; if ( *(this + 144) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v2 = *(this + 144); if ( v2 ) v2 = (cocos2d::CCObject *)cocos2d::CCObject::release(v2); *(this + 144) = v8; } } if ( !*(this + 141) ) { v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2); v9 = v2; if ( *(this + 141) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v2 = *(this + 141); if ( v2 ) v2 = (cocos2d::CCObject *)cocos2d::CCObject::release(v2); *(this + 141) = v9; } } if ( !*(this + 145) ) { v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2); v10 = v2; if ( *(this + 145) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v2 = *(this + 145); if ( v2 ) v2 = (cocos2d::CCObject *)cocos2d::CCObject::release(v2); *(this + 145) = v10; } } if ( !*(this + 146) ) { v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2); v11 = v2; if ( *(this + 146) != v2 ) { if ( v2 ) cocos2d::CCObject::retain(v2); v2 = *(this + 146); if ( v2 ) v2 = (cocos2d::CCObject *)cocos2d::CCObject::release(v2); *(this + 146) = v11; } } v12 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2); v13 = v12; if ( *(this + 136) != v12 ) { if ( v12 ) cocos2d::CCObject::retain(v12); v12 = *(this + 136); if ( v12 ) v12 = (cocos2d::CCObject *)cocos2d::CCObject::release(v12); *(this + 136) = v13; } v14 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v12); v15 = v14; if ( *(this + 147) != v14 ) { if ( v14 ) cocos2d::CCObject::retain(v14); v14 = *(this + 147); if ( v14 ) v14 = (cocos2d::CCObject *)cocos2d::CCObject::release(v14); *(this + 147) = v15; } v16 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v14); v17 = v16; if ( *(this + 168) != v16 ) { if ( v16 ) cocos2d::CCObject::retain(v16); v16 = *(this + 168); if ( v16 ) v16 = (cocos2d::CCObject *)cocos2d::CCObject::release(v16); *(this + 168) = v17; } v18 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v16); v19 = v18; if ( *(this + 137) != v18 ) { if ( v18 ) cocos2d::CCObject::retain(v18); v18 = *(this + 137); if ( v18 ) v18 = (cocos2d::CCObject *)cocos2d::CCObject::release(v18); *(this + 137) = v19; } v20 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v18); v21 = sub_4A9C2E((cocos2d::CCObject *)(this + 138), v20); result = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v21); v23 = result; if ( *(this + 139) != result ) { if ( result ) cocos2d::CCObject::retain(result); result = *(this + 139); if ( result ) result = (cocos2d::CCObject *)cocos2d::CCObject::release(result); *(this + 139) = v23; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source