//
// GJChallengeItem::encodeWithCoder from 0x100056540 to 0x10005660a (202 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab6f68
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:19:37 +0000
//
__int64 __fastcall GJChallengeItem::encodeWithCoder(__int64 a1, __int64 a2)
{
DS_Dictionary::setIntegerForKey_1(a2, "kCEK", 7);
DS_Dictionary::setIntegerForKey_1(a2, "1", *(unsigned int *)(a1 + 56));
DS_Dictionary::setIntegerForKey_1(a2, "5", *(unsigned int *)(a1 + 96));
DS_Dictionary::setBoolForKey_1(a2, "6", *(unsigned __int8 *)(a1 + 100));
DS_Dictionary::setStringForKey_1(a2, "7", a1 + 112);
DS_Dictionary::setIntegerForKey_1(a2, "2", (unsigned int)(*(_DWORD *)(a1 + 60) - *(_DWORD *)(a1 + 64)));
DS_Dictionary::setIntegerForKey_1(a2, "3", (unsigned int)(*(_DWORD *)(a1 + 84) - *(_DWORD *)(a1 + 88)));
DS_Dictionary::setIntegerForKey_1(a2, "4", (unsigned int)(*(_DWORD *)(a1 + 72) - *(_DWORD *)(a1 + 76)));
return DS_Dictionary::setIntegerForKey_1(a2, "8", *(unsigned int *)(a1 + 104));
}