//
// GJSmartTemplate::createWithCoder from 0x100428010 to 0x1004280a4 (148 bytes)
//
// 1 xrefs:
// > GJObjectDecoder::getDecodedObject @ 0x1007248ff
//
// 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::createWithCoder(DS_Dictionary *a1)
{
char *v1; // rbx
v1 = (char *)operator new(0xC8u);
cocos2d::CCObject::CCObject(v1);
*(_QWORD *)v1 = off_100934C38;
*((_QWORD *)v1 + 10) = 0;
*(_OWORD *)(v1 + 120) = 0;
*(_OWORD *)(v1 + 56) = 0;
*((_QWORD *)v1 + 14) = v1 + 120;
*((_DWORD *)v1 + 34) = 0;
*((_OWORD *)v1 + 9) = 0;
*((_OWORD *)v1 + 10) = 0;
*((_OWORD *)v1 + 11) = 0;
*((_QWORD *)v1 + 24) = 0;
GJSmartTemplate::init((GJSmartTemplate *)v1);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
GJSmartTemplate::dataLoaded((GJSmartTemplate *)v1, a1);
return (GJSmartTemplate *)v1;
}