// // sub_10030506C from 0x10030506c to 0x1003050cc (96 bytes) // // 1 xrefs: // > MenuLayer::init @ 0x100304870 // // 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:03:07 +0000 // __int64 __fastcall sub_10030506C(__int64 a1) { __int64 result; // x0 __int64 v2; // x0 __int64 v3; // x0 __int64 v4; // x0 void *v5; // x0 result = GJAccountManager::sharedState(a1); if ( *(_DWORD *)(result + 352) > *(_DWORD *)(result + 356) ) { v2 = GameManager::sharedState(result); v3 = GameManager::setGameVariable(v2, "0048", 1); v4 = GJAccountManager::sharedState(v3); v5 = ProfilePage::create((unsigned int)(*(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356)), 1); return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v5 + 1312LL))(v5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source