// // EditorUI::toggleWindow from 0x7cce9c to 0x7ccf8c (240 bytes) // // 5 xrefs: // > EditorUI::onEditorCommands @ 0x7ccf9c // > EditorUI::onGridSizeIndicator @ 0x7ccfa4 // > EditorUI::onFindObject @ 0x7ccfb8 // > EditorUI::onDpadStep @ 0xbe21fc // > @ 0x81760 // // 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 12:54:12 +0000 // __int64 __fastcall EditorUI::toggleWindow(EditorUI *this, int a2) { char *v2; // x21 __int64 *v4; // x0 EditorUI *v5; // x1 __int64 result; // x0 __int64 v7; // x20 int v8; // [xsp+3Ch] [xbp+3Ch] BYREF v2 = (char *)this + 576; v8 = a2; v4 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_QWORD *)this + 72, &v8); if ( v4 ) return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4[3] + 1368LL))(v4[3], 0); result = (unsigned int)(v8 - 1); switch ( v8 ) { case 1: result = EditorCommandsPopup::create(this, v5); v7 = result; goto LABEL_6; case 3: result = FindObjectPopup::create(this, v5); v7 = result; goto LABEL_6; case 4: result = GridSettingsLayer::create(this, v5); v7 = result; goto LABEL_6; case 5: result = MoveStepPopup::create(this, v5); v7 = result; LABEL_6: if ( v7 ) { *(_QWORD *)std::unordered_map::operator[]((__int64)v2, &v8) = v7; result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7); } break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source