//
// GJSmartTemplate::encodeWithCoder from 0x1402b5810 to 0x1402b58e3 (211 bytes)
//
// 2 xrefs:
// > ??> @ 0x14057f4b0
// > ??> @ 0x1406d2438
//
// 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 GJSmartTemplate::encodeWithCoder(GJSmartTemplate *a1, DS_Dictionary *a2)
{
DS_Dictionary::setIntegerForKey(a2, "kCEK", 10);
DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531EA4, a1->m_nameIndex);
DS_Dictionary::setStringForKey(a2, &word_140531EA0, &a1->m_templateName);
DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531E94, a1->m_allowRotation);
DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531E90, a1->m_allowFlipX);
DS_Dictionary::setIntegerForKey(a2, "6", a1->m_allowFlipY);
DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531E88, a1->m_ignoreCorners);
DS_Dictionary::setDictForKey(a2, (const char *)&word_140531E9C, a1->m_prefabArrays);
}