//
// EditorUI::onShowUIBtn from 0x7ce618 to 0x7ce688 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0xd1668
// > EditorUI::init @ 0x7d10e8
// > ??> @ 0x1546310
//
// 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:13 +0000
//
EditorUI *__fastcall EditorUI::onShowUIBtn(EditorUI *this, cocos2d::CCObject *a2)
{
EditorUI *v2; // x19
EditorSFXManager *v3; // x0
EditorSFXManager *v4; // x0
v2 = this;
if ( !*((_BYTE *)this + 1588) )
{
*((_BYTE *)this + 1589) = 0;
*((_BYTE *)this + 1590) = 0;
EditorUI::updateDeleteMenu(this);
EditorUI::updateCreateMenu(v2, 0);
EditorUI::updateEditMenu(v2);
EditorUI::updateViewMenu(v2);
v3 = (EditorSFXManager *)EditorUI::showUI((cocos2d::CCArray **)v2, 1u);
v4 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);
return (EditorUI *)EditorSFXManager::playAction(v4, 194, 189);
}
return this;
}