//
// InfoAlertButton::init from 0x1005a3100 to 0x1005a319a (154 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:32:34 +0000
//
__int64 __fastcall InfoAlertButton::init(std::string *a1, const std::string *a2, const std::string *a3, double a4)
{
char *v5; // r12
__int64 result; // rax
unsigned int v7; // r12d
v5 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_infoIcon_001.png", a4);
(*(void (__fastcall **)(char *, float))(*(_QWORD *)v5 + 160LL))(v5, *(float *)&a4);
result = CCMenuItemSpriteExtra::init((__int64)a1, (__int64)v5, 0, 0, 0, 0);
if ( (_BYTE)result )
{
v7 = result;
CCMenuItemSpriteExtra::setSizeMult((__int64)a1, 1.5);
std::string::operator=(a1 + 21, a2);
std::string::operator=(a1 + 22, a3);
return v7;
}
return result;
}