// // EditorSFXActionConfigLayer::refreshModeButtons from 0x140184830 to 0x1401848b6 (134 bytes) // // 2 xrefs: // > EditorSFXActionConfigLayer::onToggleMode @ 0x140184947 // > @ 0x140918d04 // // 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 11:27:38 +0000 // __int64 __fastcall EditorSFXActionConfigLayer::refreshModeButtons(__int64 a1) { unsigned int v1; // ebx __int64 v3; // rax __int64 Binding; // rax int v5; // ecx __int64 result; // rax const char *v7; // rdx v1 = *(_DWORD *)(a1 + 1008); v3 = EditorSFXManager::sharedState(); Binding = EditorSFXManager::findBinding(v3, v1); if ( Binding ) v5 = *(_DWORD *)(Binding + 8); else v5 = 1; result = *(_QWORD *)(a1 + 1016); if ( result ) { v7 = "GJ_button_04.png"; if ( !v5 ) v7 = "GJ_button_02.png"; ButtonSprite::updateBGImage(*(_QWORD *)(a1 + 1016), v7); return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1016) + 640LL) + 240LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1016) + 640LL)); } return result; }