// // EditorUI::showUI from 0x100473708 to 0x100473a00 (760 bytes) // // 8 xrefs: // > EditorUI::handleEditorAction @ 0x100162cf8 // > EditorUI::onHideUIBtn @ 0x1004711f0 // > EditorUI::onPlaytest @ 0x1004714f4 // > EditorUI::onStopPlaytest @ 0x1004715cc // > EditorUI::resetUI @ 0x100471818 // > EditorUI::onPause @ 0x10047187c // > sub_1004734B8 @ 0x100473524 // > EditorUI::playtestStopped @ 0x100477cb0 // // This function is hookable on this platform (idp: arm, 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:05:39 +0000 // __int64 __fastcall EditorUI::showUI(__int64 a1, unsigned int a2) { __int64 v3; // x19 __int64 v5; // x0 unsigned int v6; // w21 __int64 v7; // x0 __int64 v8; // x0 _BOOL8 v9; // x1 __int64 v10; // x0 _BOOL8 v11; // x1 __int64 v12; // x0 _BOOL8 v13; // x1 _BOOL8 v14; // x1 _BOOL8 v15; // x1 __int64 v16; // x0 __int64 v17; // x0 __int64 v18; // x0 __int64 v19; // x0 __int64 v20; // x0 __int64 v21; // x0 __int64 v22; // x0 __int64 v23; // x0 __int64 result; // x0 char v25; // w8 __int64 **i; // x20 if ( (*(_BYTE *)(a1 + 1589) & 1) != 0 ) { v3 = 0; } else { v5 = GameManager::sharedState(); v3 = !GameManager::getGameVariable(v5, "0046") | a2; } if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 640)) ) { v6 = 0; do { v7 = sub_1002E75A0(*(_QWORD *)(a1 + 640), v6); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 344LL))(v7, v3); ++v6; } while ( v6 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 640)) ); } if ( (*(_BYTE *)(a1 + 867) & 1) == 0 ) { (*(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 ( (_DWORD)v3 ) v9 = *(_DWORD *)(a1 + 1436) == 2; else v9 = 0; (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v8 + 344LL))(v8, v9); } v10 = *(_QWORD *)(a1 + 832); if ( v10 ) { v11 = (_DWORD)v3 && *(_DWORD *)(a1 + 1436) == 3 && *(_QWORD *)(a1 + 1592) == 0; (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v10 + 344LL))(v10, v11); } v12 = *(_QWORD *)(a1 + 1592); if ( v12 ) { if ( (_DWORD)v3 ) v13 = *(_DWORD *)(a1 + 1436) == 3; else v13 = 0; (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v12 + 344LL))(v12, v13); } if ( (_DWORD)v3 ) v14 = *(_DWORD *)(a1 + 1436) == 1; else v14 = 0; (*(void (__fastcall **)(_QWORD, _BOOL8))(**(_QWORD **)(a1 + 904) + 344LL))(*(_QWORD *)(a1 + 904), v14); if ( (_DWORD)v3 ) v15 = *(_DWORD *)(a1 + 1436) == 4; else v15 = 0; (*(void (__fastcall **)(_QWORD, _BOOL8))(**(_QWORD **)(a1 + 1384) + 344LL))(*(_QWORD *)(a1 + 1384), v15); if ( *(_BYTE *)(a1 + 1589) != 1 ) { if ( !(_DWORD)v3 ) goto LABEL_53; v21 = *(_QWORD *)(a1 + 1000); if ( v21 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 344LL))(v21, 1); v22 = *(_QWORD *)(a1 + 1016); if ( v22 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v22 + 344LL))(v22, 1); v23 = *(_QWORD *)(a1 + 1200); if ( v23 ) (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v23 + 344LL))(v23, *(_DWORD *)(a1 + 1436) == 2); EditorUI::toggleObjectInfoLabel(a1); goto LABEL_52; } v16 = *(_QWORD *)(a1 + 1000); if ( v16 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v16 + 344LL))(v16, 0); v17 = *(_QWORD *)(a1 + 1008); if ( v17 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v17 + 344LL))(v17, 0); v18 = *(_QWORD *)(a1 + 1016); if ( v18 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v18 + 344LL))(v18, 0); v19 = *(_QWORD *)(a1 + 1200); if ( v19 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v19 + 344LL))(v19, 0); v20 = *(_QWORD *)(a1 + 752); if ( v20 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v20 + 344LL))(v20, 0); if ( (_DWORD)v3 ) LABEL_52: EditorUI::updateGroupIDLabel(a1); LABEL_53: result = *(_QWORD *)(a1 + 1040); if ( result ) { if ( *(_BYTE *)(a1 + 1589) == 1 ) v25 = *(_BYTE *)(a1 + 1590); else v25 = 0; result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, v25 & 1); } for ( i = *(__int64 ***)(a1 + 592); i; i = (__int64 **)*i ) result = (*(__int64 (__fastcall **)(__int64 *, __int64))(*i[3] + 344))(i[3], v3); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source