//
// GJChallengeItem::encodeWithCoder from 0x1003df058 to 0x1003df134 (220 bytes)
//
// 1 xrefs:
// > ??> @ 0x100948940
//
// This function is hookable on this platform (idp: arm, 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 11:04:20 +0000
//
__int64 __fastcall GJChallengeItem::encodeWithCoder(__int64 a1, __int64 a2)
{
DS_Dictionary::setIntegerForKey_1(a2, (__int64)"kCEK", 7);
DS_Dictionary::setIntegerForKey_1(a2, (__int64)"1", *(unsigned int *)(a1 + 56));
DS_Dictionary::setIntegerForKey_1(a2, (__int64)"5", *(unsigned int *)(a1 + 96));
DS_Dictionary::setBoolForKey_1(a2, (__int64)"6", *(unsigned __int8 *)(a1 + 100));
sub_1001EB144(a2, (__int64)"7", a1 + 112);
DS_Dictionary::setIntegerForKey_1(a2, (__int64)"2", (unsigned int)(*(_DWORD *)(a1 + 60) - *(_DWORD *)(a1 + 64)));
DS_Dictionary::setIntegerForKey_1(a2, (__int64)"3", (unsigned int)(*(_DWORD *)(a1 + 84) - *(_DWORD *)(a1 + 88)));
DS_Dictionary::setIntegerForKey_1(a2, (__int64)"4", (unsigned int)(*(_DWORD *)(a1 + 72) - *(_DWORD *)(a1 + 76)));
return DS_Dictionary::setIntegerForKey_1(a2, (__int64)"8", *(unsigned int *)(a1 + 104));
}