//
// InfoAlertButton::init from 0x1001f8e88 to 0x1001f8f2c (164 bytes)
//
// 1 xrefs:
// > InfoAlertButton::create @ 0x1001f8ddc
//
// 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:00:41 +0000
//
__int64 __fastcall InfoAlertButton::init(std::string *a1, const std::string *a2, const std::string *a3, float a4)
{
__int64 v8; // x22
__int64 v9; // x22
v8 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, a4);
v9 = CCMenuItemSpriteExtra::init(a1, v8, 0, 0, 0, 0);
if ( (_DWORD)v9 )
{
CCMenuItemSpriteExtra::setSizeMult(1.5);
std::string::operator=(a1 + 21, a2);
std::string::operator=(a1 + 22, a3);
}
return v9;
}