//
// ShareLevelLayer::getStarsButton from 0x100281410 to 0x1002814d1 (193 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 ShareLevelLayer::getStarsButton(
ShareLevelLayer *a1,
int a2,
cocos2d::SEL_MenuHandler a3,
cocos2d::CCMenu *a4,
float a5)
{
size_t adj; // r14
void (__cdecl *ptr)(cocos2d::CCObject *); // r15
cocos2d::CCString *v8; // rax
const char *CString; // rax
ButtonSprite *v10; // rax
CCMenuItemSpriteExtra *v11; // r14
char v13; // [rsp+0h] [rbp-30h]
adj = a3.adj;
ptr = a3.ptr;
v8 = (cocos2d::CCString *)sub_1007AB580("%i", v13);
CString = cocos2d::CCString::getCString(v8);
v10 = ButtonSprite::create_1(CString, 20, 0, 0.5, 1, "bigFont.fnt", "GJ_button_01.png", 30.0);
v11 = CCMenuItemSpriteExtra::create(
v10,
nullptr,
a1,
(cocos2d::SEL_MenuHandler)__PAIR128__(adj, (unsigned __int64)ptr));
((void (__fastcall *)(CCMenuItemSpriteExtra *, float))v11->setScale)(v11, a5);
v11->m_baseScale = a5;
if ( a4 )
((void (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a4->addChild)(a4, v11);
return v11;
}