//
// GJRateLevelLayer::getStarsButton from 0x5657b4 to 0x565820 (108 bytes)
//
// 1 xrefs:
// > GJRateLevelLayer::init @ 0x565d5a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:27 +0000
//
_DWORD *__fastcall GJRateLevelLayer::getStarsButton(int a1, const char *a2, float a3, int a4, int a5, int a6)
{
cocos2d::CCString *v7; // r0
ButtonSprite *CString; // r0
ButtonSprite *v9; // r0
_DWORD *v10; // r4
int v13; // [sp+10h] [bp-8h]
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2);
CString = (ButtonSprite *)cocos2d::CCString::getCString(v7);
v9 = ButtonSprite::create(
CString,
(const char *)&dword_14,
0,
0.5,
1,
"bigFont.fnt",
"GJ_button_01.png",
(const char *)0x41F00000,
a3);
v10 = (_DWORD *)CCMenuItemSpriteExtra::create((int)v9, 0, a1, v13, a4);
(*(void (__fastcall **)(_DWORD *, int))(*v10 + 80))(v10, a6);
v10[79] = a6;
if ( a5 )
(*(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)a5 + 228))(a5, v10);
return v10;
}