//
// GJRewardItem::create from 0x8cf840 to 0x8cf8d0 (144 bytes)
//
// 3 xrefs:
// > GJRewardItem::createWithObjects @ 0x8cf8e8
// > GJRewardItem::createWithCoder @ 0x8d5e30
// > ??> @ 0x4ee98
//
// 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:38 +0000
//
__int64 __fastcall GJRewardItem::create(GJRewardItem *this)
{
__int64 v1; // x20
_QWORD v3[2]; // [xsp+20h] [xbp+20h] BYREF
void *v4; // [xsp+30h] [xbp+30h]
v3[0] = 0;
v3[1] = 0;
v4 = nullptr;
v1 = GJRewardItem::create(0, 0, (char *)v3);
if ( (v3[0] & 1) != 0 )
operator delete(v4);
return v1;
}