//
// GJStoreItem::create from 0x5168b0 to 0x516946 (150 bytes)
//
// 1 xrefs:
// > GameStatsManager::addStoreItem @ 0x5249ee
//
// 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:41 +0000
//
cocos2d::CCNode *__fastcall GJStoreItem::create(int a1, int a2, int a3, int a4, int a5)
{
cocos2d::CCNode *v9; // r4
int v10; // r3
cocos2d::CCNode *v11; // r0
v9 = (cocos2d::CCNode *)operator new(0x13Cu);
cocos2d::CCNode::CCNode(v9);
*(_DWORD *)v9 = &off_CA89A0;
*((_DWORD *)v9 + 66) = 0;
*((_DWORD *)v9 + 67) = 0;
*((_DWORD *)v9 + 68) = 0;
*((_DWORD *)v9 + 69) = 0;
*((_DWORD *)v9 + 70) = 0;
*((_DWORD *)v9 + 71) = 0;
*((_DWORD *)v9 + 72) = 0;
*((_DWORD *)v9 + 73) = 0;
*((_DWORD *)v9 + 74) = 0;
*((_DWORD *)v9 + 75) = 0;
*((_DWORD *)v9 + 76) = 0;
*((_DWORD *)v9 + 77) = 0;
*((_DWORD *)v9 + 78) = 0;
if ( GJStoreItem::init(v9, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v9);
}
else
{
v10 = *(_DWORD *)v9;
v11 = v9;
v9 = nullptr;
(*(void (__fastcall **)(cocos2d::CCNode *))(v10 + 8))(v11);
}
return v9;
}