//
// InfoAlertButton::init from 0x100575d30 to 0x100575dca (154 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall InfoAlertButton::init(__int64 a1, const std::string *a2, const std::string *a3, float a4)
{
cocos2d::CCSprite *v5; // r12
bool result; // al
bool v7; // r12
v5 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
((void (__fastcall *)(cocos2d::CCSprite *, float))v5->setScale)(v5, a4);
result = CCMenuItemSpriteExtra::init((CCMenuItemSpriteExtra *)a1, v5, nullptr, nullptr, (cocos2d::SEL_MenuHandler)0);
if ( result )
{
v7 = result;
CCMenuItemSpriteExtra::setSizeMult((CCMenuItemSpriteExtra *)a1, 1.5);
std::string::operator=((std::string *)(a1 + 504), a2);
std::string::operator=((std::string *)(a1 + 528), a3);
return v7;
}
return result;
}