//
// GJSmartTemplate::createWithCoder from 0x100414c80 to 0x100414d14 (148 bytes)
//
// 1 xrefs:
// > GJObjectDecoder::getDecodedObject @ 0x10080381f
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:10 +0000
//
char *__fastcall GJSmartTemplate::createWithCoder(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0xC8u);
cocos2d::CCObject::CCObject(v1);
*(_QWORD *)v1 = off_100B3E8C0;
*((_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(v1);
cocos2d::CCObject::autorelease(v1);
GJSmartTemplate::dataLoaded(v1, a1);
return v1;
}