//
// EditorUI::onShowUIBtn from 0x489dea to 0x489e2e (68 bytes)
//
// 0 xrefs:
//
// 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:28 +0000
//
unsigned __int8 *__fastcall EditorUI::onShowUIBtn(unsigned __int8 *this, cocos2d::CCObject *a2)
{
EditorUI *v2; // r4
int v3; // r5
EditorSFXManager *v4; // r0
EditorSFXManager *v5; // r0
v2 = (EditorUI *)this;
v3 = *(this + 1052);
if ( !*(this + 1052) )
{
*(this + 1053) = v3;
*(this + 1054) = v3;
EditorUI::updateDeleteMenu((EditorUI *)this);
EditorUI::updateCreateMenu(v2, v3);
EditorUI::updateEditMenu(v2);
EditorUI::updateViewMenu(v2);
v4 = (EditorSFXManager *)EditorUI::showUI((cocos2d::CCArray **)v2, 1);
v5 = (EditorSFXManager *)EditorSFXManager::sharedState(v4);
return (unsigned __int8 *)EditorSFXManager::playAction(v5, 194, 189);
}
return this;
}