//
// InfoLayer::getSpriteButton from 0x9074e0 to 0x9075f4 (276 bytes)
//
// 6 xrefs:
// > InfoLayer::init @ 0x90b754
// > InfoLayer::init @ 0x90b7a4
// > InfoLayer::init @ 0x90c75c
// > InfoLayer::init @ 0x90c7f4
// > InfoLayer::init @ 0x90cc28
// > ??> @ 0xd2550
//
// 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:57:09 +0000
//
float *__fastcall InfoLayer::getSpriteButton(
__int64 a1,
cocos2d::CCSprite *this,
__int64 a3,
__int64 a4,
__int64 a5,
const cocos2d::CCPoint *a6,
float a7)
{
ButtonSprite *v13; // x0
ButtonSprite *v14; // x22
float *v15; // x20
_BYTE v17[8]; // [xsp+60h] [xbp+60h] BYREF
v13 = (ButtonSprite *)cocos2d::CCSprite::createWithSpriteFrameName(this, _stack_chk_guard);
v14 = (ButtonSprite *)ButtonSprite::create(
v13,
(cocos2d::CCSprite *)&qword_20,
0,
1,
32.0,
1.0,
(cocos2d::CCSprite *)"GJ_button_01.png",
nullptr,
0.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, a6);
ButtonSprite::updateSpriteOffset(v14, (__int64)v17);
v15 = (float *)CCMenuItemSpriteExtra::create((__int64)v14, 0, a1, a3, a4);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v15 + 160LL))(v15, a7);
v15[101] = a7;
if ( a5 )
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a5 + 456LL))(a5, v15);
return v15;
}