//
// ShareLevelLayer::getStarsButton from 0x6e3d50 to 0x6e3e0c (188 bytes)
//
// 2 xrefs:
// > ShareLevelLayer::setupStars @ 0x6e3ea8
// > ??> @ 0x38b80
//
// 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
//
// local variable allocation has failed, the output may be wrong!
CCMenuItemSpriteExtra *ShareLevelLayer::getStarsButton(
ShareLevelLayer *a1,
int a2,
cocos2d::SEL_MenuHandler a3,
cocos2d::CCMenu *a4,
float a5)
{
void (__cdecl *ptr)(cocos2d::CCObject *); // x22
cocos2d::CCString *v9; // x0
ButtonSprite *CString; // x0
const char *v11; // x6
cocos2d::CCNode *v12; // x0
CCMenuItemSpriteExtra *v13; // x19
cocos2d::SEL_MenuHandler v15; // 0:x2.16
ptr = a3.ptr;
v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", *(const char **)&a2);
CString = (ButtonSprite *)cocos2d::CCString::getCString(v9);
v12 = (cocos2d::CCNode *)ButtonSprite::create(
CString,
(const char *)&dword_14,
0,
1,
0.5,
"bigFont.fnt",
"GJ_button_01.png",
v11,
30.0);
v15.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1;
v15.adj = (size_t)ptr;
v13 = CCMenuItemSpriteExtra::create(v12, nullptr, v15);
v13->setScale(v13, a5);
v13->m_baseScale = a5;
if ( a4 )
a4->addChild(a4, v13);
return v13;
}