//
// GJStoreItem::create from 0x8cd8bc to 0x8cd9bc (256 bytes)
//
// 2 xrefs:
// > GameStatsManager::addStoreItem @ 0x8e0950
// > ??> @ 0xa5778
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:56:37 +0000
//
cocos2d::CCNode *__fastcall GJStoreItem::create(int a1, int a2, int a3, int a4, int a5)
{
cocos2d::CCNode *v10; // x19
v10 = (cocos2d::CCNode *)operator new(0x170u);
cocos2d::CCNode::CCNode(v10);
*((_DWORD *)v10 + 79) = 0;
*((_DWORD *)v10 + 80) = 0;
*(_QWORD *)v10 = &off_145DBB0;
*((_DWORD *)v10 + 81) = 0;
*((_DWORD *)v10 + 82) = 0;
*((_DWORD *)v10 + 83) = 0;
*((_DWORD *)v10 + 84) = 0;
*((_DWORD *)v10 + 85) = 0;
*((_DWORD *)v10 + 86) = 0;
*((_DWORD *)v10 + 87) = 0;
*((_DWORD *)v10 + 88) = 0;
*((_DWORD *)v10 + 89) = 0;
*((_DWORD *)v10 + 90) = 0;
*((_DWORD *)v10 + 91) = 0;
if ( (unsigned __int8)GJStoreItem::init(v10, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v10);
return v10;
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v10 + 16LL))(v10);
return nullptr;
}
}