//
// EditorUI::getModeBtn from 0x37c8c8 to 0x37c8fa (50 bytes)
//
// 3 xrefs:
// > EditorUI::init @ 0x3a1386
// > EditorUI::init @ 0x3a13a2
// > EditorUI::init @ 0x3a13be
//
// 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::getModeBtn(EditorUI *a1, const char *a2, int a3)
{
cocos2d::CCSprite *v5; // r0
CCMenuItemSpriteExtra *v6; // r4
v5 = cocos2d::CCSprite::createWithSpriteFrameName(a2);
v6 = CCMenuItemSpriteExtra::create(
v5,
nullptr,
(cocos2d::SEL_MenuHandler)__PAIR64__(EditorUI::toggleMode, (unsigned int)a1));
v6->setTag(v6, a3);
return v6;
}