// // EditorUI::getModeBtn from 0x10000bc30 to 0x10000bc71 (65 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 *__fastcall EditorUI::getModeBtn(EditorUI *a1, const char *a2, int a3) { cocos2d::CCSprite *v4; // rax CCMenuItemSpriteExtra *v5; // r14 v4 = cocos2d::CCSprite::createWithSpriteFrameName(a2); v5 = CCMenuItemSpriteExtra::create(v4, nullptr, a1, (cocos2d::SEL_MenuHandler)(unsigned __int64)EditorUI::toggleMode); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))v5->setTag)(v5, (unsigned int)a3); return v5; }