// // sub_10022EFE8 from 0x10022efe8 to 0x10022f110 (296 bytes) // // 1 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x10022cb24 // // 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 11:01:16 +0000 // void __fastcall sub_10022EFE8(__int64 a1) { int v2; // w21 __int64 v3; // x0 __int64 v4; // x20 char *v5; // x0 __int64 v6; // x0 _QWORD *v7; // x0 __int64 v8; // x21 _QWORD *v9; // x20 __int64 v10; // x0 __int64 v11; // x0 int v12; // w20 __int64 v13; // x19 __int64 v14; // x0 char *CString; // x0 char *v16; // x0 __int64 v17; // x0 _QWORD *v18; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v20; // [xsp+1Fh] [xbp-21h] v2 = *(unsigned __int8 *)(a1 + 740); v3 = cocos2d::CCDirector::sharedDirector(); v4 = v3; if ( v2 == 1 ) { v5 = GJSearchObject::create_2(98); v6 = LevelBrowserLayer::scene(v5); v7 = (_QWORD *)cocos2d::CCTransitionFade::create_1(v6, 0.5); cocos2d::CCDirector::pushScene(v4, v7); } else if ( (*(_BYTE *)(v3 + 176) & 1) == 0 ) { if ( *(_DWORD *)(*(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272) + 28LL) != 15 ) { v8 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 96); v9 = (_QWORD *)cocos2d::CCDirector::sharedDirector(); v10 = cocos2d::CCDirector::sharedDirector(); if ( v8 ) cocos2d::CCDirector::popToSceneInStack(v9, *(_QWORD *)(v10 + 96)); else v9[12] = *(_QWORD *)(v10 + 272); } v11 = GameLevelManager::sharedState(); v12 = sub_1000A78C4(v11, *(_DWORD *)(a1 + 736)); v13 = cocos2d::CCDirector::sharedDirector(); v14 = sub_1003065B0("%i", v12); CString = (char *)cocos2d::CCString::getCString(v14); sub_100009900(__p, CString); v16 = GJSearchObject::create_1(5, (__int128 *)__p); v17 = LevelBrowserLayer::scene(v16); v18 = (_QWORD *)cocos2d::CCTransitionFade::create_1(v17, 0.5); cocos2d::CCDirector::pushScene(v13, v18); if ( v20 < 0 ) operator delete(__p[0]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source