//
// GJUnlockableItem::create from 0x4131b4 to 0x413200 (76 bytes)
//
// 4 xrefs:
// > GameStatsManager::generateItemUnlockableData @ 0x41cce0
// > GameStatsManager::generateItemUnlockableData @ 0x41cd0e
// > GameStatsManager::generateItemUnlockableData @ 0x41cd56
// > GameStatsManager::generateItemUnlockableData @ 0x41cd74
//
// 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
//
GJUnlockableItem *GJUnlockableItem::create()
{
GJUnlockableItem *v0; // r4
GJUnlockableItem_vtbl *v1; // r3
GJUnlockableItem *v2; // r0
v0 = (GJUnlockableItem *)operator new(0x34u);
memset(v0, 0, sizeof(GJUnlockableItem));
cocos2d::CCObject::CCObject(v0);
v0->__vftable = (GJUnlockableItem_vtbl *)&off_A5F018;
if ( GJUnlockableItem::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->__vftable;
v2 = v0;
v0 = nullptr;
v1->~GJUnlockableItem_0(v2);
}
return v0;
}