//
// GJSmartTemplate::create from 0x100004330 to 0x1000043a4 (116 bytes)
//
// 2 xrefs:
// > GJSmartTemplate::createWithCoder @ 0x1000083c8
// > GameLevelManager::createSmartTemplate @ 0x10009a7bc
//
// 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
//
GJSmartTemplate *__fastcall GJSmartTemplate::create()
{
GJSmartTemplate *v0; // x19
v0 = (GJSmartTemplate *)operator new(0xC8u);
cocos2d::CCObject::CCObject();
v0->__vftable = (GJSmartTemplate_vtbl *)off_100761C20;
v0->m_remapDict3 = nullptr;
v0->m_prefabResults.__tree_.__pair3_.__value_ = 0;
v0->m_prefabResults.__tree_.__pair1_.__value_.__left_ = nullptr;
v0->m_prefabArrays = nullptr;
v0->m_remapDict1 = nullptr;
v0->m_prefabResults.__tree_.__begin_node_ = &v0->m_prefabResults.__tree_.__pair1_.__value_;
*(_DWORD *)&v0->m_allowFlipX = 0;
*(_OWORD *)&v0->m_templateName.m_data.m_short.sizex2 = 0u;
*(_OWORD *)&v0->m_templateName.m_data.m_long.longStorage = 0u;
*(_OWORD *)&v0->m_unk0a8.m_data.m_long.size = 0u;
*(_QWORD *)&v0->m_nameIndex = 0;
GJSmartTemplate::init(v0);
cocos2d::CCObject::autorelease(v0);
return v0;
}