//
// GJChallengeItem::encodeWithCoder from 0x10008fa20 to 0x10008faea (202 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b3968
//
// 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 GJChallengeItem::encodeWithCoder(GJChallengeItem *a1, DS_Dictionary *a2)
{
DS_Dictionary::setIntegerForKey_1(a2, "kCEK", 7);
DS_Dictionary::setIntegerForKey_1(a2, "1", a1->m_challengeType);
DS_Dictionary::setIntegerForKey_1(a2, "5", a1->m_timeLeft);
DS_Dictionary::setBoolForKey_1(a2, "6", a1->m_canClaim);
DS_Dictionary::setStringForKey_1(a2, "7", &a1->m_name);
DS_Dictionary::setIntegerForKey_1(a2, "2", a1->m_count.random - a1->m_count.seed);
DS_Dictionary::setIntegerForKey_1(a2, "3", a1->m_goal.random - a1->m_goal.seed);
DS_Dictionary::setIntegerForKey_1(a2, "4", a1->m_reward.random - a1->m_reward.seed);
DS_Dictionary::setIntegerForKey_1(a2, "8", a1->m_position);
}