//
// GJSmartPrefab::create from 0x9d5a70 to 0x9d5b18 (168 bytes)
//
// 3 xrefs:
// > GJSmartTemplate::savePrefab @ 0x9d5bf0
// > GJSmartPrefab::createWithCoder @ 0x9d5e30
// > ??> @ 0xc6b28
//
// 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; // x19
v0 = (GJSmartPrefab *)operator new(0x50u);
cocos2d::CCObject::CCObject(v0);
v0->__vftable = (GJSmartPrefab_vtbl *)&off_11C9C10;
v0->m_prefabID = 0;
v0->m_prefabChance = 0;
v0->m_prefabKey.m_data.m_data = (stl::StringData::Internal *)&byte_124B6C8;
v0->m_prefabData.m_data.m_data = (stl::StringData::Internal *)&byte_124B6C8;
if ( GJSmartPrefab::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
v0->~GJSmartPrefab_0(v0);
return nullptr;
}
}