//
// ItemInfoPopup::create from 0x1003064d4 to 0x100306588 (180 bytes)
//
// 3 xrefs:
// > GJGarageLayer::showUnlockPopup @ 0x1003068a4
// > ShardsPage::onIconInfo @ 0x1003a327c
// > GJPathPage::onIconInfo @ 0x1003ba1fc
//
// 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
//
ItemInfoPopup *__fastcall ItemInfoPopup::create(int a1, UnlockType a2)
{
ItemInfoPopup *v4; // x19
v4 = (ItemInfoPopup *)operator new(0x288u);
FLAlertLayer::FLAlertLayer(v4);
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ItemInfoPopup_vtbl *)&off_1007ECE60;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007ED380;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007ED3F0;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007ED408;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1007ED428;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007ED448;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007ED470;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_1007ED4F0;
*(_QWORD *)&v4->m_itemID = 0;
if ( ItemInfoPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(ItemInfoPopup *))v4->~ItemInfoPopup_0)(v4);
return nullptr;
}
return v4;
}