// // EditorUI::updateEditMenu from 0x1004747b0 to 0x100474830 (128 bytes) // // 6 xrefs: // > EditorUI::handleEditorAction @ 0x100162cdc // > EditorUI::setupEditMenu @ 0x10018532c // > EditorUI::recreateButtonTabs @ 0x1001881f0 // > EditorUI::resetUI @ 0x1004717c8 // > sub_1004734B8 @ 0x1004734f0 // > EditorUI::clickOnPosition @ 0x100474100 // // 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:40 +0000 // __int64 __fastcall EditorUI::updateEditMenu(__int64 a1) { _BOOL8 v2; // x1 __int64 v3; // x0 __int64 result; // x0 __int64 (*v5)(void); // x2 v2 = (*(_BYTE *)(a1 + 1589) & 1) == 0 && *(_DWORD *)(a1 + 1436) == 3; v3 = *(_QWORD *)(a1 + 1592); if ( v3 ) { (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v3 + 344LL))(v3, v2); result = *(_QWORD *)(a1 + 832); if ( !result ) return result; v5 = *(__int64 (**)(void))(*(_QWORD *)result + 344LL); } else { result = *(_QWORD *)(a1 + 832); if ( !result ) return result; v5 = *(__int64 (**)(void))(*(_QWORD *)result + 344LL); } return v5(); }