//
// EditorUI::getSpriteButton_1 from 0x10000bdf0 to 0x10000be63 (115 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::getSpriteButton_1(
EditorUI *a1,
const char *a2,
cocos2d::SEL_MenuHandler a3,
cocos2d::CCMenu *a4,
float a5,
int a6,
cocos2d::CCPoint a7)
{
size_t adj; // r15
void (__cdecl *ptr)(cocos2d::CCObject *); // r12
cocos2d::CCSprite *v9; // rbx
cocos2d::SEL_MenuHandler v10; // rdx
_BYTE v12[8]; // [rsp+10h] [rbp-40h] BYREF
cocos2d::CCMenu *v13; // [rsp+18h] [rbp-38h]
int v14; // [rsp+20h] [rbp-30h]
float v15; // [rsp+24h] [rbp-2Ch]
__int64 v16; // [rsp+60h] [rbp+10h]
v14 = a6;
v15 = a5;
v13 = a4;
adj = a3.adj;
ptr = a3.ptr;
v9 = cocos2d::CCSprite::createWithSpriteFrameName(a2);
sub_10028CC60(v12, v16);
v10.ptr = ptr;
v10.adj = adj;
return EditorUI::getSpriteButton(a1, v9, v10, v13, v15, v14, a7);
}