//
// EditorUI::updateEditMenu from 0x4831bc to 0x483206 (74 bytes)
//
// 6 xrefs:
// > EditorUI::resetUI @ 0x489cdc
// > EditorUI::onShowUIBtn @ 0x489e0a
// > EditorUI::clickOnPosition @ 0x48c7b8
// > EditorUI::handleEditorAction @ 0x6f1f3c
// > EditorUI::setupEditMenu @ 0x6f7f16
// > EditorUI::recreateButtonTabs @ 0x6f7ff4
//
// 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:23 +0000
//
int __fastcall EditorUI::updateEditMenu(EditorUI *this)
{
_BOOL4 v2; // r1
int v3; // r0
int result; // r0
int (*v5)(void); // r3
if ( *((_BYTE *)this + 1053) )
v2 = 0;
else
v2 = *((_DWORD *)this + 235) == 3;
v3 = *((_DWORD *)this + 264);
if ( v3 )
{
(*(void (__fastcall **)(int, _BOOL4))(*(_DWORD *)v3 + 172))(v3, v2);
result = *((_DWORD *)this + 154);
if ( !result )
return result;
v5 = *(int (**)(void))(*(_DWORD *)result + 172);
}
else
{
result = *((_DWORD *)this + 154);
if ( !result )
return result;
v5 = *(int (**)(void))(*(_DWORD *)result + 172);
}
return v5();
}