//
// sub_10051F1F0 from 0x10051f1f0 to 0x10051f2b8 (200 bytes)
//
// 1 xrefs:
// > sub_10051E954 @ 0x10051ec58
//
// 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 11:07:11 +0000
//
float *__fastcall sub_10051F1F0(__int64 a1, int a2, __int64 a3, __int64 a4, __int64 a5, float a6)
{
void *v11; // x0
__int64 CString; // x0
void *v13; // x0
float *v14; // x20
v11 = sub_1003065B0("%i", a2);
CString = cocos2d::CCString::getCString((__int64)v11);
v13 = ButtonSprite::create_1(CString, 20, 0, 1, (__int64)"bigFont.fnt", (__int64)"GJ_button_01.png", 0.5, 30.0);
v14 = (float *)CCMenuItemSpriteExtra::create((__int64)v13, 0, a1, a3, a4);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v14 + 160LL))(v14, a6);
v14[101] = a6;
if ( a5 )
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a5 + 456LL))(a5, v14);
return v14;
}