// // sub_1004D1FE0 from 0x1004d1fe0 to 0x1004d2070 (144 bytes) // // 1 xrefs: // > sub_1004CF9C0 @ 0x1004d080c // // 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:06:29 +0000 // void __fastcall sub_1004D1FE0(__int64 a1) { __int64 v2; // x0 __int64 v3; // x0 __int64 v4; // x0 __int64 v5; // x0 if ( *(_QWORD *)(a1 + 1088) ) { v2 = GameManager::sharedState(); if ( GameManager::safeModeEnabled(v2) ) { GameManager::sharedState(); sub_1003B6200(); } else { v3 = GJAccountManager::sharedState(); if ( *(_DWORD *)(v3 + 352) <= *(_DWORD *)(v3 + 356) ) { v5 = GJAccountManager::sharedState(); GJAccountManager::showAccountNeededAlert(v5, "upload sound packs"); } else { v4 = sub_1004D56D4(*(_QWORD *)(a1 + 1088), a1); if ( v4 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source