// // sub_1008C8050 from 0x1008c8050 to 0x1008c8137 (231 bytes) // // 1 xrefs: // > DeathMarkerSettingsPopup::init @ 0x1008c748d // // This function is hookable on this platform (idp: pc, 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 12:37:33 +0000 // __int64 sub_1008C8050() { __int64 v0; // rax char v1; // bl __int64 result; // rax __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax 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 PlayLayer::dtLiveMarkersChanged(*(_QWORD *)(v5 + 544)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source