//
// GJChallengeItem::encodeWithCoder from 0x7a1118 to 0x7a1200 (232 bytes)
//
// 2 xrefs:
// > ??> @ 0xc6dc8
// > ??> @ 0x117c160
//
// 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 GJChallengeItem::encodeWithCoder(GJChallengeItem *a1, DS_Dictionary *a2)
{
DS_Dictionary::setIntegerForKey(a2, "kCEK", 7);
DS_Dictionary::setIntegerForKey(a2, "1", a1->m_challengeType);
DS_Dictionary::setIntegerForKey(a2, "5", a1->m_timeLeft);
DS_Dictionary::setBoolForKey(a2, "6", a1->m_canClaim);
DS_Dictionary::setStringForKey(a2, "7", &a1->m_name);
DS_Dictionary::setIntegerForKey(a2, &byte_F78BA8, a1->m_count.random - a1->m_count.seed);
DS_Dictionary::setIntegerForKey(a2, "3", a1->m_goal.random - a1->m_goal.seed);
DS_Dictionary::setIntegerForKey(a2, &byte_F2CA20, a1->m_reward.random - a1->m_reward.seed);
DS_Dictionary::setIntegerForKey(a2, "8", a1->m_position);
}