//
// ShareLevelLayer::getStarsButton from 0x7f2670 to 0x7f272c (188 bytes)
//
// 2 xrefs:
// > ShareLevelLayer::setupStars @ 0x7f394c
// > ??> @ 0x52a80
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:54:36 +0000
//
float *__fastcall ShareLevelLayer::getStarsButton(
__int64 a1,
const char *a2,
__int64 a3,
__int64 a4,
__int64 a5,
float a6)
{
cocos2d::CCString *v11; // x0
ButtonSprite *CString; // x0
const char *v13; // x6
__int64 v14; // x0
float *v15; // x19
v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2);
CString = (ButtonSprite *)cocos2d::CCString::getCString(v11);
v14 = ButtonSprite::create(CString, (const char *)&dword_14, 0, 1, 0.5, "bigFont.fnt", "GJ_button_01.png", v13, 30.0);
v15 = (float *)CCMenuItemSpriteExtra::create(v14, 0, a1, a3, a4);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v15 + 160LL))(v15, a6);
v15[101] = a6;
if ( a5 )
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a5 + 456LL))(a5, v15);
return v15;
}