// // ProfilePage::onMyLevels from 0x140556820 to 0x14055699e (382 bytes) // // 3 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x140554e13 // > @ 0x14092be74 // > @ 0x14092be80 // // This function is hookable on this platform (idp: pc, 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 11:34:11 +0000 // // Hidden C++ exception states: #wind=1 char __fastcall ProfilePage::onMyLevels(__int64 a1) { __int64 v2; // rax __int64 v3; // rdx __int64 v4; // r8 __int64 v5; // r9 __int64 v6; // rax __int64 v7; // rcx __int64 v8; // rcx __int64 v9; // rcx __int64 v10; // rbx __int64 v11; // rcx struct cocos2d::CCScene *v12; // rbx __int64 v13; // rcx cocos2d::CCDirector *v14; // rax __int64 v15; // rcx cocos2d::CCString *v16; // rax unsigned int v17; // eax cocos2d::CCString *v18; // rax const char *CString; // rax size_t v20; // r8 struct cocos2d::CCScene *v21; // rax struct cocos2d::CCScene *v22; // rbx __int64 v23; // rcx cocos2d::CCDirector *v24; // rax __int128 v26; // [rsp+20h] [rbp-28h] BYREF __int64 v27; // [rsp+30h] [rbp-18h] __int64 v28; // [rsp+38h] [rbp-10h] void *v29; // [rsp+50h] [rbp+8h] if ( *(_BYTE *)(a1 + 740) ) { v2 = GJSearchObject::create_2(98); LABEL_13: v21 = (struct cocos2d::CCScene *)LevelBrowserLayer::scene(v2, v3, v4, v5); v22 = cocos2d::CCTransitionFade::create(0.5, v21); v24 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v23); LOBYTE(v6) = cocos2d::CCDirector::pushScene(v24, v22); return v6; } v6 = cocos2d::CCDirector::sharedDirector(a1); if ( !*(_BYTE *)(v6 + 176) ) { v8 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v7) + 272); if ( *(_DWORD *)(v8 + 28) != 15 ) { if ( *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v8) + 96) ) { v12 = *(struct cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v9) + 96); v14 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v13); cocos2d::CCDirector::popToSceneInStack(v14, v12); } else { v10 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v9) + 272); *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v11) + 96) = v10; } } v15 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v29 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v29); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v15 = *(_QWORD *)&qword_14090BFB0; } v16 = cocos2d::CCDictionary::valueForKey(*(cocos2d::CCDictionary **)(v15 + 1072), *(int *)(a1 + 736)); v17 = cocos2d::CCString::intValue(v16); v18 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v17); CString = cocos2d::CCString::getCString(v18); v26 = 0; v27 = 0; v28 = 0; v20 = -1; do ++v20; while ( CString[v20] ); sub_14003D230(&v26, CString, v20); v2 = GJSearchObject::create_1(5, (__int64)&v26); goto LABEL_13; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source