//
// GJChallengeItem::encodeWithCoder from 0x40c3b0 to 0x40c436 (134 bytes)
//
// 0 xrefs:
//
// 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, (const char *)&aO1i2r3e45s7t89[1], a1->m_challengeType);
DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[8], a1->m_timeLeft);
DS_Dictionary::setBoolForKey(a2, "6", a1->m_canClaim);
DS_Dictionary::setStringForKey(a2, (const char *)&aO1i2r3e45s7t89[10], &a1->m_name);
DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[3], a1->m_count.random - a1->m_count.seed);
DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[5], a1->m_goal.random - a1->m_goal.seed);
DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[7], a1->m_reward.random - a1->m_reward.seed);
DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[12], a1->m_position);
}