//
// InfoLayer::getSpriteButton from 0x100894100 to 0x1008941da (218 bytes)
//
// 5 xrefs:
// > InfoLayer::init @ 0x1008929e6
// > InfoLayer::init @ 0x100892a2a
// > InfoLayer::init @ 0x100892aac
// > InfoLayer::init @ 0x100892b20
// > InfoLayer::init @ 0x100892b97
//
// 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:37:06 +0000
//
float *__fastcall InfoLayer::getSpriteButton(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
_QWORD *a6,
double a7)
{
int v9; // eax
char *v10; // r14
float *v11; // r14
__int64 v13; // [rsp+8h] [rbp-48h] BYREF
__int64 v14; // [rsp+10h] [rbp-40h]
__int64 v15; // [rsp+18h] [rbp-38h]
float v16; // [rsp+24h] [rbp-2Ch]
v16 = *(float *)&a7;
v14 = a4;
v15 = a3;
v9 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName(a2, a7);
v10 = ButtonSprite::create(v9, 32, 0, 1u, (int)"GJ_button_01.png", 0, 32.0, 1.0, 0.0);
sub_1002782D0(&v13, a6);
ButtonSprite::updateSpriteOffset((__int64)v10, (__int64)&v13);
v11 = (float *)CCMenuItemSpriteExtra::create((__int64)v10, 0, a1, v15, v14);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v11 + 160LL))(v11, v16);
v11[101] = v16;
if ( a5 )
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a5 + 456LL))(a5, v11);
return v11;
}