//
// GJStoreItem::create from 0x10032bd98 to 0x10032be4c (180 bytes)
//
// 1 xrefs:
// > GameStatsManager::addStoreItem @ 0x10032bd10
//
// 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
//
GJStoreItem *__fastcall GJStoreItem::create(int a1, int a2, int a3, int a4, ShopType a5)
{
char *v10; // x19
v10 = (char *)operator new(0x170u);
cocos2d::CCNode::CCNode((__int64)v10);
*(_QWORD *)v10 = &off_1007F05D8;
*((_DWORD *)v10 + 91) = 0;
*(_OWORD *)(v10 + 316) = 0u;
*(_OWORD *)(v10 + 332) = 0u;
*(_OWORD *)(v10 + 348) = 0u;
if ( GJStoreItem::init((GJStoreItem *)v10, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v10 + 16LL))(v10);
return nullptr;
}
return (GJStoreItem *)v10;
}