// // EditorUI::onHideUIBtn from 0x1401b3ca0 to 0x1401b3d09 (105 bytes) // // 4 xrefs: // > EditorUI::init @ 0x1401aaab5 // > @ 0x1408a1970 // > @ 0x1408a1980 // > @ 0x14091a090 // // 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:57 +0000 // void __fastcall EditorUI::onHideUIBtn(__int64 a1) { _QWORD *v1; // rbx bool hasSoundsForAction; // al int v3; // edx if ( !*(_BYTE *)(a1 + 1660) && !*(_BYTE *)(a1 + 1661) ) { *(_WORD *)(a1 + 1661) = 257; EditorUI::showUI(a1, 0); v1 = (_QWORD *)EditorSFXManager::sharedState(); hasSoundsForAction = EditorSFXManager::hasSoundsForAction(v1, 194); v3 = 194; if ( !hasSoundsForAction ) v3 = 189; EditorSFXManager::playAction((__int64)v1, v3); } }