//
// sub_100505150 from 0x100505150 to 0x100505211 (193 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:31:31 +0000
//
float *__fastcall sub_100505150(__int64 a1, float a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)
{
__int64 v9; // rax
__int64 CString; // rax
char *v11; // rax
float *v12; // r14
char v14; // [rsp+0h] [rbp-30h]
v9 = sub_10088E820("%i", v14);
CString = cocos2d::CCString::getCString(v9);
v11 = ButtonSprite::create_1(CString, 0x14u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_01.png", 0.5, 30.0);
v12 = (float *)CCMenuItemSpriteExtra::create((__int64)v11, 0, a1, a4, a5);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v12 + 160LL))(v12, a2);
v12[101] = a2;
if ( a6 )
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a6 + 456LL))(a6, v12);
return v12;
}