//
// GJStoreItem::create from 0x10002bf10 to 0x10002bfb6 (166 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:19:27 +0000
//
char *__fastcall GJStoreItem::create(
unsigned int a1,
unsigned int a2,
unsigned int a3,
unsigned int a4,
unsigned int a5)
{
char *v7; // rbx
v7 = (char *)operator new(0x170u);
cocos2d::CCNode::CCNode(v7);
*(_QWORD *)v7 = off_100AB6FB0;
*(_OWORD *)(v7 + 316) = 0;
*(_OWORD *)(v7 + 332) = 0;
*(_OWORD *)(v7 + 348) = 0;
*((_DWORD *)v7 + 91) = 0;
if ( (unsigned __int8)GJStoreItem::init(v7, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v7);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v7 + 16LL))(v7);
return nullptr;
}
return v7;
}