// // LevelBrowserLayer::onMyOnlineLevels from 0x7fb378 to 0x7fb584 (524 bytes) // // 3 xrefs: // > @ 0xf1e10 // > LevelBrowserLayer::init @ 0x7faee8 // > @ 0x1547518 // // 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 12:54:41 +0000 // __int64 __fastcall LevelBrowserLayer::onMyOnlineLevels(LevelBrowserLayer *this, cocos2d::CCObject *a2) { GJAccountManager *v3; // x0 __int64 v4; // x0 char *v5; // x21 size_t v6; // x0 LevelBrowserLayer *v7; // x20 cocos2d::CCDirector *v8; // x0 cocos2d::CCDirector *v9; // x21 GJSearchObject *v10; // x1 AppDelegate *v11; // x0 cocos2d::CCScene *v12; // x1 cocos2d::CCScene *v13; // x0 __int64 v15; // x0 char *v16; // x21 size_t v17; // x0 unsigned __int64 v18[2]; // [xsp+38h] [xbp+38h] BYREF void *v19; // [xsp+48h] [xbp+48h] __int64 v20; // [xsp+50h] [xbp+50h] BYREF __int64 v21; // [xsp+58h] [xbp+58h] void *v22; // [xsp+60h] [xbp+60h] (*(void (__fastcall **)(LevelBrowserLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0); (*(void (__fastcall **)(LevelBrowserLayer *, _QWORD))(*(_QWORD *)this + 1088LL))(this, 0); v3 = (GJAccountManager *)*(unsigned int *)(*((_QWORD *)this + 83) + 316LL); if ( (_DWORD)v3 == 102 ) { v15 = GJAccountManager::sharedState(v3); v16 = (char *)v18 + 1; GameToolbox::intToString(v18, (GameToolbox *)(unsigned int)(*(_DWORD *)(v15 + 352) - *(_DWORD *)(v15 + 356))); if ( (v18[0] & 1) != 0 ) v16 = (char *)v19; v20 = 0; v21 = 0; v22 = nullptr; v17 = strlen(v16); std::string::__init(&v20, v16, v17); v7 = (LevelBrowserLayer *)GJSearchObject::create(5, &v20); if ( (v20 & 1) != 0 ) operator delete(v22); if ( (v18[0] & 1) != 0 ) operator delete(v19); v8 = (cocos2d::CCDirector *)(&dword_0 + 1); *((_DWORD *)v7 + 108) = 1; } else { v4 = GameManager::sharedState(v3); v5 = (char *)v18 + 1; GameToolbox::intToString(v18, (GameToolbox *)(unsigned int)(*(_DWORD *)(v4 + 660) - *(_DWORD *)(v4 + 664))); if ( (v18[0] & 1) != 0 ) v5 = (char *)v19; v20 = 0; v21 = 0; v22 = nullptr; v6 = strlen(v5); std::string::__init(&v20, v5, v6); v7 = (LevelBrowserLayer *)GJSearchObject::create(5, &v20); if ( (v20 & 1) != 0 ) operator delete(v22); v8 = (cocos2d::CCDirector *)LOBYTE(v18[0]); if ( (v18[0] & 1) != 0 ) operator delete(v19); } v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); v11 = LevelBrowserLayer::scene(v7, v10); v13 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v11, 0.5, v12); cocos2d::CCDirector::replaceScene(v9, v13); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source