//
// GJStoreItem::create from 0x4130cc to 0x413162 (150 bytes)
//
// 1 xrefs:
// > GameStatsManager::addStoreItem @ 0x41a148
//
// 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 *GJStoreItem::create(int a1, int a2, int a3, int a4, ShopType a5)
{
GJStoreItem *v9; // r4
GJStoreItem_vtbl *v10; // r3
int *v11; // r0
v9 = (GJStoreItem *)operator new(0x13Cu);
cocos2d::CCNode::CCNode(v9);
v9->__vftable = (GJStoreItem_vtbl *)&off_A5EE58;
v9->m_index.random = 0;
v9->m_index.seed = 0;
v9->m_index.value = 0;
v9->m_typeID.random = 0;
v9->m_typeID.seed = 0;
v9->m_typeID.value = 0;
v9->m_unlockType.random = 0;
v9->m_unlockType.seed = 0;
v9->m_unlockType.value = 0;
v9->m_price.random = 0;
v9->m_price.seed = 0;
v9->m_price.value = 0;
v9->m_shopType = 0;
if ( GJStoreItem::init(v9, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v9);
}
else
{
v10 = v9->__vftable;
v11 = (int *)v9;
v9 = nullptr;
v10->~GJStoreItem_0((GJStoreItem *)v11);
}
return v9;
}