//
// EditorUI::getButton from 0x37c4b4 to 0x37c4fa (70 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
CCMenuItemSpriteExtra *EditorUI::getButton(
EditorUI *a1,
const char *a2,
int a3,
cocos2d::SEL_MenuHandler a4,
cocos2d::CCMenu *a5)
{
ButtonSprite *v6; // r0
CCMenuItemSpriteExtra *v7; // r5
unsigned int varg_r3; // [sp+1Ch] [bp+10h]
v6 = ButtonSprite::create((ButtonSprite *)a2, (const char *)a3, 0, 1.0, COERCE_FLOAT(1), (bool)a2);
v7 = CCMenuItemSpriteExtra::create(v6, nullptr, (cocos2d::SEL_MenuHandler)__PAIR64__(varg_r3, (unsigned int)a1));
if ( a5 )
a5->addChild(a5, v7);
return v7;
}