// // EditorUI::toggleWindow from 0x1004735f8 to 0x1004736e0 (232 bytes) // // 4 xrefs: // > EditorUI::onDpadStep @ 0x100186aac // > EditorUI::onEditorCommands @ 0x100471c4c // > EditorUI::onGridSizeIndicator @ 0x100471c54 // > sub_100476C74 @ 0x100476c84 // // 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::toggleWindow(__int64 a1, int a2) { __int64 *result; // x0 __int64 *v4; // x20 int v5; // [xsp+0h] [xbp-20h] BYREF int *v6; // [xsp+8h] [xbp-18h] BYREF v5 = a2; result = sub_100019268((_QWORD *)(a1 + 576), &v5); if ( result ) return (__int64 *)(*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result[3] + 1368LL))(result[3], 0); if ( v5 > 3 ) { if ( v5 == 4 ) { result = (__int64 *)sub_1004DEDE8(a1); } else { if ( v5 != 5 ) return result; result = (__int64 *)sub_10053C7E8(a1); } } else if ( v5 == 1 ) { result = (__int64 *)EditorCommandsPopup::create(a1); } else { if ( v5 != 3 ) return result; result = (__int64 *)sub_1004DD550(a1); } v4 = result; if ( result ) { v6 = &v5; sub_10001A978(a1 + 576, &v5, (__int64)&unk_10076F2A2, &v6)[3] = result; return (__int64 *)(*(__int64 (__fastcall **)(__int64 *))(*v4 + 1312))(v4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source