// // sub_10095E390 from 0x10095e390 to 0x10095e43c (172 bytes) // // 1 xrefs: // > PlatformerControlsPopup::init @ 0x10095d802 // // 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:38:44 +0000 // __int64 __fastcall sub_10095E390(__int64 a1) { __int64 result; // rax int v2; // ecx __int64 v3; // rax const char *v4; // rsi __int64 v5; // rax result = *(_QWORD *)(a1 + 1048); if ( result ) { v2 = *(_DWORD *)(result + 1840); *(_DWORD *)(result + 1840) = v2 != 1; v3 = *(_QWORD *)(a1 + 1112); if ( v3 ) { v4 = "Edit Global Controls"; if ( v2 != 1 ) v4 = "Edit Custom Controls"; (*(void (__fastcall **)(_QWORD, const char *))(*(_QWORD *)v3 + 928LL))(*(_QWORD *)(a1 + 1112), v4); } sub_10095ED80(a1); result = GameManager::sharedState(); if ( *(_QWORD *)(result + 544) ) { result = *(_QWORD *)(GameManager::sharedState() + 544); if ( *(_QWORD *)(result + 13288) ) { v5 = GameManager::sharedState(); return UILayer::reapplyLevelControls(*(_QWORD *)(*(_QWORD *)(v5 + 544) + 13288LL)); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source