//
// InfoAlertButton::init from 0x8e62f4 to 0x8e6394 (160 bytes)
//
// 2 xrefs:
// > InfoAlertButton::create @ 0x8e64dc
// > ??> @ 0x3d548
//
// 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, __int64 a2, __int64 a3, long double a4)
{
cocos2d::CCSprite *v7; // x0
long double v8; // q0
bool v9; // w0
_BOOL4 v10; // w20
cocos2d::SEL_MenuHandler v13; // 0:x4.16
v7 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
v8 = a4;
*(_QWORD *)&a4 = v7;
((void (__fastcall *)(long double))v7->setScale)(v8);
v13.ptr = nullptr;
v13.adj = 0;
v9 = CCMenuItemSpriteExtra::init(a1, *(cocos2d::CCNode **)&a4, nullptr, nullptr, v13);
v10 = v9;
if ( v9 )
{
CCMenuItemSpriteExtra::setSizeMult(a1, 1.5);
sub_D18EA8(&a1[1], a2);
sub_D18EA8(&a1[1].m_uID, a3);
}
return v10;
}