//
// sub_100080758 from 0x100080758 to 0x100080820 (200 bytes)
//
// 1 xrefs:
// > RateStarsLayer::init @ 0x1000803e0
//
// 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 sub_100080758(
cocos2d::CCObject *a1,
int a2,
void (__cdecl *a3)(cocos2d::CCObject *),
size_t a4,
__int64 a5,
float a6)
{
cocos2d::CCString *v11; // x0
const char *CString; // x0
ButtonSprite *v13; // x0
CCMenuItemSpriteExtra *v14; // x20
cocos2d::SEL_MenuHandler v16; // 0:x3.16
v11 = (cocos2d::CCString *)sub_100268F4C("%i", a2);
CString = cocos2d::CCString::getCString(v11);
v13 = ButtonSprite::create_1(CString, 20, 0, 0.5, 1, "bigFont.fnt", "GJ_button_01.png", 30.0);
v16.ptr = a3;
v16.adj = a4;
v14 = CCMenuItemSpriteExtra::create(v13, nullptr, a1, v16);
((void (__fastcall *)(CCMenuItemSpriteExtra *, float))v14->setScale)(v14, a6);
v14->m_baseScale = a6;
if ( a5 )
(*(void (__fastcall **)(__int64, CCMenuItemSpriteExtra *))(*(_QWORD *)a5 + 440LL))(a5, v14);
return v14;
}