// // sub_10022E148 from 0x10022e148 to 0x10022e1f8 (176 bytes) // // 1 xrefs: // > ProfilePage::setupAccountButtons @ 0x10022d814 // // 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:15 +0000 // __int64 __fastcall sub_10022E148(__int64 result) { __int64 v1; // x8 __int64 v2; // x19 _DWORD *v3; // x19 __int64 v4; // x20 int v5; // w8 v1 = *(_QWORD *)(result + 728); if ( v1 ) { if ( *(int *)(v1 + 376) >= 1 ) { v2 = result; result = GameManager::sharedState(result); if ( *(_DWORD *)(result + 1032) > *(_DWORD *)(result + 1036) ) { v3 = (_DWORD *)InfoLayer::create(0, *(_QWORD *)(v2 + 728), 0, 0); v4 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); if ( (int)cocos2d::CCScene::getHighestChildZ(v4) < 110 ) v5 = 110; else v5 = cocos2d::CCScene::getHighestChildZ(v4) + 1; v3[148] = v5; (*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1312LL))(v3); return sub_1003F0408(v3, 0); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source