//
// GJRateLevelLayer::getStarsButton from 0x1001b1590 to 0x1001b1658 (200 bytes)
//
// 1 xrefs:
// > GJRateLevelLayer::init @ 0x1001b0f2c
//
// 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 GJRateLevelLayer::getStarsButton(
GJRateLevelLayer *a1,
int a2,
cocos2d::SEL_MenuHandler a3,
cocos2d::CCMenu *a4,
float a5)
{
size_t adj; // x20
void (__cdecl *ptr)(cocos2d::CCObject *); // x21
cocos2d::CCString *v10; // x0
const char *CString; // x0
ButtonSprite *v12; // x0
CCMenuItemSpriteExtra *v13; // x20
cocos2d::SEL_MenuHandler v15; // 0:x3.16
adj = a3.adj;
ptr = a3.ptr;
v10 = (cocos2d::CCString *)sub_100268F4C("%i", a2);
CString = cocos2d::CCString::getCString(v10);
v12 = ButtonSprite::create_1(CString, 20, 0, 0.5, 1, "bigFont.fnt", "GJ_button_01.png", 30.0);
v15.ptr = ptr;
v15.adj = adj;
v13 = CCMenuItemSpriteExtra::create(v12, nullptr, a1, v15);
((void (__fastcall *)(CCMenuItemSpriteExtra *, float))v13->setScale)(v13, a5);
v13->m_baseScale = a5;
if ( a4 )
((void (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a4->addChild)(a4, v13);
return v13;
}