// // EditorUI::toggleWindow from 0x488ee2 to 0x488f54 (114 bytes) // // 4 xrefs: // > EditorUI::onEditorCommands @ 0x488f5c // > EditorUI::onGridSizeIndicator @ 0x488f64 // > EditorUI::onFindObject @ 0x488f70 // > EditorUI::onDpadStep @ 0x6f806c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:49:27 +0000 // _DWORD *__fastcall EditorUI::toggleWindow(EditorUI *this, unsigned int a2) { char *v2; // r6 _DWORD *result; // r0 EditorUI *v5; // r1 _DWORD *v6; // r4 unsigned int v7; // [sp+4h] [bp-4h] BYREF v2 = (char *)this + 436; v7 = a2; result = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_DWORD *)this + 109, &v7); if ( result ) return (_DWORD *)(*(int (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)result[3] + 684))(result[3], 0); switch ( v7 ) { case 1u: result = (_DWORD *)EditorCommandsPopup::create(this, v5); goto LABEL_8; case 3u: result = (_DWORD *)FindObjectPopup::create(this, v5); goto LABEL_8; case 4u: result = (_DWORD *)GridSettingsLayer::create(this, v5); goto LABEL_8; case 5u: result = (_DWORD *)MoveStepPopup::create(this, v5); LABEL_8: v6 = result; if ( result ) { *std::unordered_map::operator[]((int)v2, &v7) = result; result = (_DWORD *)(*(int (__fastcall **)(_DWORD *))(*v6 + 656))(v6); } break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source