//
// InfoAlertButton::init from 0x10016b38c to 0x10016b430 (164 bytes)
//
// 1 xrefs:
// > InfoAlertButton::create @ 0x10016b2e0
//
// 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 *v8; // x22
_BOOL8 v9; // x22
cocos2d::SEL_MenuHandler v11; // 0:x4.16
v8 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
((void (__fastcall *)(cocos2d::CCSprite *, float))v8->setScale)(v8, a4);
v11.ptr = nullptr;
v11.adj = 0;
v9 = CCMenuItemSpriteExtra::init((CCMenuItemSpriteExtra *)a1, v8, nullptr, nullptr, v11);
if ( v9 )
{
CCMenuItemSpriteExtra::setSizeMult((CCMenuItemSpriteExtra *)a1, 1.5);
std::string::operator=((std::string *)(a1 + 504), a2);
std::string::operator=((std::string *)(a1 + 528), a3);
}
return v9;
}