//
// ItemInfoPopup::create from 0x1003a31e4 to 0x1003a32a0 (188 bytes)
//
// 4 xrefs:
// > sub_10022E664 @ 0x10022e6a0
// > GJGarageLayer::showUnlockPopup @ 0x1003a35bc
// > sub_100449D04 @ 0x100449d28
// > sub_100460E04 @ 0x100460eb4
//
// This function is hookable on this platform (idp: arm, 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 11:03:47 +0000
//
_QWORD *__fastcall ItemInfoPopup::create(__int64 a1, __int64 a2)
{
_QWORD *v4; // x19
v4 = operator new(0x2A0u);
FLAlertLayer::FLAlertLayer((__int64)v4);
*v4 = &off_1009450A8;
v4[40] = off_1009455F8;
v4[41] = &off_100945668;
v4[42] = off_100945680;
v4[43] = off_1009456A0;
v4[44] = off_1009456C8;
v4[51] = off_1009456F8;
v4[54] = off_100945778;
v4[68] = off_100945798;
*(_QWORD *)((char *)v4 + 660) = 0;
if ( (unsigned int)ItemInfoPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4);
return nullptr;
}
return v4;
}