// // EditorUI::showUI from 0x10000ba20 to 0x10000bd70 (848 bytes) // // 9 xrefs: // > EditorUI::onHideUIBtn @ 0x100008522 // > EditorUI::onPlaytest @ 0x100008895 // > EditorUI::onStopPlaytest @ 0x100008973 // > EditorUI::resetUI @ 0x100008db9 // > EditorUI::onPause @ 0x100008e28 // > EditorUI::onPause @ 0x100008e82 // > EditorUI::onShowUIBtn @ 0x10000b68a // > EditorUI::playtestStopped @ 0x100011e63 // > EditorUI::handleEditorAction @ 0x10060cfa8 // // 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:18:50 +0000 // __int64 __fastcall EditorUI::showUI(__int64 a1, __int64 a2, __int64 a3) { unsigned __int8 v4; // r14 __int64 v5; // rax unsigned int v6; // r15d __int64 v7; // rax __int64 v8; // rdi bool v9; // al __int64 v10; // rdi bool v11; // al __int64 v12; // rdi bool v13; // al bool v14; // al bool v15; // al __int64 v16; // rsi __int64 result; // rax __int64 v18; // rdx __int64 v19; // rdi __int64 v20; // rdi __int64 v21; // rdi __int64 v22; // rdi __int64 v23; // rdi __int64 v24; // rdi __int64 v25; // rdi __int64 v26; // rdi __int64 v27; // rax __int64 GameVariable; // r15 __int64 v29; // rdi unsigned __int8 v30; // al __int64 **i; // r15 if ( *(_BYTE *)(a1 + 1589) ) { v4 = 0; if ( !(unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 640)) ) goto LABEL_7; } else { v5 = GameManager::sharedState(a1, a2, a3); v4 = a2 | GameManager::getGameVariable(v5, "0046") ^ 1; if ( !(unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 640)) ) goto LABEL_7; } v6 = 0; do { v7 = sub_1007FEFE0(*(_QWORD *)(a1 + 640), v6); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 344LL))(v7, v4); ++v6; } while ( v6 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 640)) ); LABEL_7: if ( !*(_BYTE *)(a1 + 867) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1056) + 344LL))(*(_QWORD *)(a1 + 1056), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1048) + 344LL))(*(_QWORD *)(a1 + 1048), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1064) + 344LL))(*(_QWORD *)(a1 + 1064), 0); } v8 = *(_QWORD *)(a1 + 824); if ( v8 ) { if ( v4 ) v9 = *(_DWORD *)(a1 + 1436) == 2; else v9 = 0; (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v8 + 344LL))(v8, v9); } v10 = *(_QWORD *)(a1 + 832); if ( v10 ) { v11 = v4 && *(_DWORD *)(a1 + 1436) == 3 && *(_QWORD *)(a1 + 1592) == 0; (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v10 + 344LL))(v10, v11); } v12 = *(_QWORD *)(a1 + 1592); if ( v12 ) { if ( v4 ) v13 = *(_DWORD *)(a1 + 1436) == 3; else v13 = 0; (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v12 + 344LL))(v12, v13); } if ( v4 ) v14 = *(_DWORD *)(a1 + 1436) == 1; else v14 = 0; (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 904) + 344LL))(*(_QWORD *)(a1 + 904), v14); if ( v4 ) v15 = *(_DWORD *)(a1 + 1436) == 4; else v15 = 0; v16 = v15; result = (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1384) + 344LL))(*(_QWORD *)(a1 + 1384), v15); if ( *(_BYTE *)(a1 + 1589) != 1 ) { if ( !v4 ) goto LABEL_54; v24 = *(_QWORD *)(a1 + 1000); if ( v24 ) { v16 = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v24 + 344LL))(v24, 1); } v25 = *(_QWORD *)(a1 + 1016); if ( v25 ) { v16 = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v25 + 344LL))(v25, 1); } v26 = *(_QWORD *)(a1 + 1200); if ( v26 ) { v16 = *(_DWORD *)(a1 + 1436) == 2; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v26 + 344LL))(v26, v16); } v27 = GameManager::sharedState(v26, v16, v18); GameVariable = (unsigned __int8)GameManager::getGameVariable(v27, "0041"); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 752) + 344LL))(*(_QWORD *)(a1 + 752), GameVariable); if ( (_BYTE)GameVariable ) EditorUI::updateObjectInfoLabel(a1); goto LABEL_53; } v19 = *(_QWORD *)(a1 + 1000); if ( v19 ) result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v19 + 344LL))(v19, 0); v20 = *(_QWORD *)(a1 + 1008); if ( v20 ) result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v20 + 344LL))(v20, 0); v21 = *(_QWORD *)(a1 + 1016); if ( v21 ) result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v21 + 344LL))(v21, 0); v22 = *(_QWORD *)(a1 + 1200); if ( v22 ) result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v22 + 344LL))(v22, 0); v23 = *(_QWORD *)(a1 + 752); if ( v23 ) result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v23 + 344LL))(v23, 0); if ( v4 ) LABEL_53: result = EditorUI::updateGroupIDLabel(a1); LABEL_54: v29 = *(_QWORD *)(a1 + 1040); if ( v29 ) { if ( *(_BYTE *)(a1 + 1589) == 1 ) v30 = *(_BYTE *)(a1 + 1590); else v30 = 0; result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v29 + 344LL))(v29, v30); } for ( i = *(__int64 ***)(a1 + 592); i; i = (__int64 **)*i ) result = (*(__int64 (__fastcall **)(__int64 *, _QWORD))(*i[3] + 344))(i[3], v4); return result; }