// // sub_1004B7B88 from 0x1004b7b88 to 0x1004b7c40 (184 bytes) // // 1 xrefs: // > DeathMarkerSettingsPopup::init @ 0x1004b7308 // // 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:15 +0000 // __int64 sub_1004B7B88() { __int64 v0; // x0 _BOOL4 v1; // w19 __int64 result; // x0 __int64 v3; // x0 __int64 v4; // x0 __int64 v5; // x0 v0 = GameManager::sharedState(); v1 = GameManager::toggleGameVariable(v0, "0207"); result = GameManager::sharedState(); if ( *(_QWORD *)(result + 544) ) { if ( v1 ) { if ( *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 1944LL) ) { v3 = GameManager::sharedState(); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(v3 + 544) + 1944LL) + 520LL))(*(_QWORD *)(*(_QWORD *)(v3 + 544) + 1944LL)); *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 1944LL) = 0; } if ( *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 1952LL) ) { v4 = GameManager::sharedState(); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(v4 + 544) + 1952LL) + 520LL))(*(_QWORD *)(*(_QWORD *)(v4 + 544) + 1952LL)); *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 1952LL) = 0; } } v5 = GameManager::sharedState(); return sub_10051DBBC(*(_QWORD *)(v5 + 544)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source