//
// InfoAlertButton::init from 0x5e8360 to 0x5e83c2 (98 bytes)
//
// 1 xrefs:
// > InfoAlertButton::create @ 0x5e8606
//
// 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:54:21 +0000
//
int __fastcall InfoAlertButton::init(int a1, char *a2, unsigned __int8 *a3, int a4)
{
int v8; // r5
int v9; // r5
v8 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_infoIcon_001.png", a2);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 80))(v8, a4);
v9 = CCMenuItemSpriteExtra::init(a1, v8, 0, 0, 0, 0);
if ( v9 )
{
CCMenuItemSpriteExtra::setSizeMult(a1, 1.5);
std::string::operator=((unsigned __int8 *)(a1 + 392), (unsigned __int8 *)a2);
std::string::operator=((unsigned __int8 *)(a1 + 404), a3);
}
return v9;
}