//
// GJSmartTemplate::encodeWithCoder from 0x1004283e0 to 0x1004284a0 (192 bytes)
//
// 1 xrefs:
// > ??> @ 0x100934c68
//
// 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
//
void __fastcall GJSmartTemplate::encodeWithCoder(GJSmartTemplate *a1, DS_Dictionary *a2)
{
DS_Dictionary::setIntegerForKey_1(a2, "kCEK", 10);
DS_Dictionary::setIntegerForKey_1(a2, "1", a1->m_nameIndex);
DS_Dictionary::setStringForKey_1((__int64)a2, (__int64)"2", (__int64)&a1->m_templateName);
DS_Dictionary::setIntegerForKey_1(a2, "4", a1->m_allowRotation);
DS_Dictionary::setIntegerForKey_1(a2, "5", a1->m_allowFlipX);
DS_Dictionary::setIntegerForKey_1(a2, "6", a1->m_allowFlipY);
DS_Dictionary::setIntegerForKey_1(a2, "7", a1->m_ignoreCorners);
DS_Dictionary::setDictForKey(a2, "3", a1->m_prefabArrays);
}