//
// InfoAlertButton::init from 0x4b9ab0 to 0x4b9b12 (98 bytes)
//
// 1 xrefs:
// > InfoAlertButton::create @ 0x4b9c4a
//
// 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(CCMenuItemSpriteExtra *a1, int a2, int a3, int a4)
{
cocos2d::CCSprite *v8; // r5
_BOOL4 v9; // r5
v8 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
((void (__fastcall *)(cocos2d::CCSprite *, int))v8->setScale)(v8, a4);
v9 = CCMenuItemSpriteExtra::init(a1, v8, nullptr, nullptr, 0);
if ( v9 )
{
CCMenuItemSpriteExtra::setSizeMult(a1, 1.5);
sub_775D40(&a1[1], a2);
sub_775D40(&a1[1].m_uID, a3);
}
return v9;
}