// // GJChallengeItem::encodeWithCoder from 0x1401f4b70 to 0x1401f4c4e (222 bytes) // // 2 xrefs: // > @ 0x140562b60 // > @ 0x1406cc7bc // // 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 *)&word_140531EA4, a1->m_challengeType); DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531E90, a1->m_timeLeft); DS_Dictionary::setBoolForKey(a2, "6", a1->m_canClaim); DS_Dictionary::setStringForKey(a2, &word_140531E88, &a1->m_name); DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531EA0, a1->m_count.random - a1->m_count.seed); DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531E9C, a1->m_goal.random - a1->m_goal.seed); DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531E94, a1->m_reward.random - a1->m_reward.seed); DS_Dictionary::setIntegerForKey(a2, "8", a1->m_position); }