// // EditorUI::resetUI from 0x100008c60 to 0x100008dc3 (355 bytes) // // 2 xrefs: // > EditorUI::init @ 0x1000066d2 // > EditorUI::toggleMode @ 0x100007dca // // 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:48 +0000 // __int64 __fastcall EditorUI::resetUI(__int64 a1) { __int64 v2; // rax __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax __int64 v6; // rdi bool v7; // al bool v8; // r14 __int64 v9; // rdi __int64 *v10; // rdi __int64 v11; // rax _BOOL8 v12; // rsi bool v13; // al __int64 result; // rax v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 920) + 1072LL))(*(_QWORD *)(a1 + 920)); ButtonSprite::updateBGImage(v2, "GJ_button_04.png"); v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 928) + 1072LL))(*(_QWORD *)(a1 + 928)); ButtonSprite::updateBGImage(v3, "GJ_button_04.png"); v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 936) + 1072LL))(*(_QWORD *)(a1 + 936)); ButtonSprite::updateBGImage(v4, "GJ_button_04.png"); v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 944) + 1072LL))(*(_QWORD *)(a1 + 944)); ButtonSprite::updateBGImage(v5, "GJ_button_04.png"); v6 = *(_QWORD *)(a1 + 904); if ( *(_BYTE *)(a1 + 1589) ) v7 = 0; else v7 = *(_DWORD *)(a1 + 1436) == 1; (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v6 + 344LL))(v6, v7); EditorUI::updateDeleteButtons(a1); v8 = 0; EditorUI::updateCreateMenu(a1, 0); if ( !*(_BYTE *)(a1 + 1589) ) v8 = *(_DWORD *)(a1 + 1436) == 3; v9 = *(_QWORD *)(a1 + 1592); if ( v9 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v9 + 344LL))(v9, v8); v10 = *(__int64 **)(a1 + 832); if ( !v10 ) goto LABEL_12; v11 = *v10; v12 = 0; } else { v10 = *(__int64 **)(a1 + 832); if ( !v10 ) goto LABEL_12; v11 = *v10; v12 = v8; } (*(void (__fastcall **)(__int64 *, _BOOL8))(v11 + 344))(v10, v12); LABEL_12: if ( *(_BYTE *)(a1 + 1589) ) v13 = 0; else v13 = *(_DWORD *)(a1 + 1436) == 4; (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1384) + 344LL))(*(_QWORD *)(a1 + 1384), v13); result = EditorUI::updateGridNodeSize_1(a1); if ( *(_BYTE *)(a1 + 1589) == 1 ) return EditorUI::showUI(a1, 0); return result; }