//
// ItemInfoPopup::create from 0x50e790 to 0x50e8e0 (336 bytes)
//
// 4 xrefs:
// > GJGarageLayer::showUnlockPopupNew @ 0x50e8ee
// > ProfilePage::onIconInfo @ 0x5f588e
// > ShardsPage::onIconInfo @ 0x62b2c8
// > GJPathPage::onIconInfo @ 0x6d2378
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:30 +0000
//
int __fastcall ItemInfoPopup::create(int a1, int a2)
{
int v4; // r4
int v5; // r3
int v6; // r0
v4 = operator new(0x214u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v4);
*(_DWORD *)v4 = &off_C86768;
*(_DWORD *)(v4 + 264) = &off_C86A10;
*(_DWORD *)(v4 + 268) = &off_C86A48;
*(_DWORD *)(v4 + 272) = &off_C86A54;
*(_DWORD *)(v4 + 276) = &off_C86A64;
*(_DWORD *)(v4 + 280) = &off_C86A78;
*(_DWORD *)(v4 + 316) = &off_C86A90;
*(_DWORD *)(v4 + 332) = &off_C86AD0;
*(_DWORD *)(v4 + 440) = &off_C86AE0;
*(_DWORD *)(v4 + 444) = 0;
*(_DWORD *)(v4 + 448) = 0;
*(_DWORD *)(v4 + 452) = 0;
*(_BYTE *)(v4 + 456) = 0;
*(_DWORD *)(v4 + 460) = 0;
*(_DWORD *)(v4 + 464) = 0;
*(_BYTE *)(v4 + 468) = 0;
*(_BYTE *)(v4 + 469) = 0;
*(_BYTE *)(v4 + 470) = 0;
*(_BYTE *)(v4 + 471) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 472));
*(_DWORD *)(v4 + 492) = -1;
*(_DWORD *)(v4 + 500) = -1;
*(_DWORD *)(v4 + 508) = 0;
*(_DWORD *)(v4 + 512) = 0;
*(_DWORD *)(v4 + 480) = 0;
*(_DWORD *)(v4 + 484) = 0;
*(_DWORD *)(v4 + 488) = 0;
*(_DWORD *)v4 = &off_CA7870;
*(_BYTE *)(v4 + 496) = 0;
*(_DWORD *)(v4 + 264) = &off_CA7B18;
*(_BYTE *)(v4 + 497) = 0;
*(_DWORD *)(v4 + 268) = &off_CA7B50;
*(_BYTE *)(v4 + 504) = 0;
*(_DWORD *)(v4 + 272) = &off_CA7B5C;
*(_BYTE *)(v4 + 516) = 0;
*(_DWORD *)(v4 + 276) = &off_CA7B6C;
*(_DWORD *)(v4 + 520) = 0;
*(_DWORD *)(v4 + 280) = &off_CA7B80;
*(_DWORD *)(v4 + 524) = 0;
*(_DWORD *)(v4 + 316) = &off_CA7B98;
*(_DWORD *)(v4 + 332) = &off_CA7BD8;
*(_DWORD *)(v4 + 440) = &off_CA7BE8;
if ( ItemInfoPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
v5 = *(_DWORD *)v4;
v6 = v4;
v4 = 0;
(*(void (__fastcall **)(int))(v5 + 8))(v6);
}
return v4;
}