//
// GJSmartPrefab::create from 0x53b4b4 to 0x53b508 (84 bytes)
//
// 2 xrefs:
// > GJSmartTemplate::savePrefab @ 0x53b56c
// > GJSmartPrefab::createWithCoder @ 0x53b630
//
// 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
//
GJSmartPrefab *GJSmartPrefab::create()
{
GJSmartPrefab *v0; // r4
GJSmartPrefab_vtbl *v1; // r3
GJSmartPrefab *v2; // r0
v0 = (GJSmartPrefab *)operator new(0x44u);
cocos2d::CCObject::CCObject(v0);
v0->__vftable = (GJSmartPrefab_vtbl *)&off_A860E0;
v0->m_prefabKey.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v0->m_prefabData.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v0->m_prefabID = 0;
v0->m_prefabChance = 0;
if ( GJSmartPrefab::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->__vftable;
v2 = v0;
v0 = nullptr;
v1->~GJSmartPrefab_0(v2);
}
return v0;
}