// // sub_1008C8140 from 0x1008c8140 to 0x1008c81e1 (161 bytes) // // 1 xrefs: // > DeathMarkerSettingsPopup::init @ 0x1008c74e0 // // 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_1008C8140() { __int64 v0; // rax char v1; // bl __int64 result; // rax __int64 v3; // rax __int64 v4; // rax v0 = GameManager::sharedState(); v1 = GameManager::toggleGameVariable(v0, "0208"); result = GameManager::sharedState(); if ( *(_QWORD *)(result + 544) ) { if ( *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 1944LL) ) { v3 = GameManager::sharedState(); sub_1008C1A90(*(_QWORD *)(*(_QWORD *)(v3 + 544) + 1944LL), v1 ^ 1); } result = *(_QWORD *)(GameManager::sharedState() + 544); if ( *(_QWORD *)(result + 1952) ) { v4 = GameManager::sharedState(); return sub_1008C1A90(*(_QWORD *)(*(_QWORD *)(v4 + 544) + 1952LL), v1 ^ 1u); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source