{"type": "func", "start": 4298377052, "end": 4298377272, "name": "GJChallengeItem::encodeWithCoder", "pseudocode": "// \n// GJChallengeItem::encodeWithCoder from 0x10034075c to 0x100340838 (220 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007f0590\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJChallengeItem::encodeWithCoder(GJChallengeItem *a1, DS_Dictionary *a2)\n{\n  DS_Dictionary::setIntegerForKey_1(a2, \"kCEK\", 7);\n  DS_Dictionary::setIntegerForKey_1(a2, \"1\", a1->m_challengeType);\n  DS_Dictionary::setIntegerForKey_1(a2, \"5\", a1->m_timeLeft);\n  DS_Dictionary::setBoolForKey_1(a2, \"6\", a1->m_canClaim);\n  DS_Dictionary::setStringForKey_1((__int64)a2, (__int64)\"7\", (__int64)&a1->m_name);\n  DS_Dictionary::setIntegerForKey_1(a2, \"2\", a1->m_count.random - a1->m_count.seed);\n  DS_Dictionary::setIntegerForKey_1(a2, \"3\", a1->m_goal.random - a1->m_goal.seed);\n  DS_Dictionary::setIntegerForKey_1(a2, \"4\", a1->m_reward.random - a1->m_reward.seed);\n  DS_Dictionary::setIntegerForKey_1(a2, \"8\", a1->m_position);\n}", "assembly": "; \n; GJChallengeItem::encodeWithCoder from 0x10034075c to 0x100340838 (220 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007f0590\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10034075c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100340760\nADD             X29, SP, #0x10                                         ; +0x8, 0x100340764\nMOV             X19, X1                                                ; +0xc, 0x100340768\nMOV             X20, X0                                                ; +0x10, 0x10034076c\nADRL            X1, aKcek; \"kCEK\"                                      ; +0x14, 0x100340770\nMOV             X0, X19                                                ; +0x1c, 0x100340778\nMOV             W2, #7                                                 ; +0x20, 0x10034077c\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x24, 0x100340780\nLDR             W2, [X20,#0x38]                                        ; +0x28, 0x100340784\nADRL            X1, a1; \"1\"                                            ; +0x2c, 0x100340788\nMOV             X0, X19                                                ; +0x34, 0x100340790\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x38, 0x100340794\nLDR             W2, [X20,#0x60]                                        ; +0x3c, 0x100340798\nADRL            X1, a5; \"5\"                                            ; +0x40, 0x10034079c\nMOV             X0, X19                                                ; +0x48, 0x1003407a4\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x4c, 0x1003407a8\nLDRB            W2, [X20,#0x64]                                        ; +0x50, 0x1003407ac\nADRL            X1, a6; \"6\"                                            ; +0x54, 0x1003407b0\nMOV             X0, X19                                                ; +0x5c, 0x1003407b8\nBL              DS_Dictionary__setBoolForKey_1                         ; +0x60, 0x1003407bc\nADRL            X1, a7; \"7\"                                            ; +0x64, 0x1003407c0\nADD             X2, X20, #0x70 ; 'p'                                   ; +0x6c, 0x1003407c8\nMOV             X0, X19                                                ; +0x70, 0x1003407cc\nBL              DS_Dictionary__setStringForKey_1                       ; +0x74, 0x1003407d0\nLDP             W8, W9, [X20,#0x3C]                                    ; +0x78, 0x1003407d4\nSUB             W2, W8, W9                                             ; +0x7c, 0x1003407d8\nADRL            X1, a2; \"2\"                                            ; +0x80, 0x1003407dc\nMOV             X0, X19                                                ; +0x88, 0x1003407e4\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x8c, 0x1003407e8\nLDP             W8, W9, [X20,#0x54]                                    ; +0x90, 0x1003407ec\nSUB             W2, W8, W9                                             ; +0x94, 0x1003407f0\nADRL            X1, a3; \"3\"                                            ; +0x98, 0x1003407f4\nMOV             X0, X19                                                ; +0xa0, 0x1003407fc\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0xa4, 0x100340800\nLDP             W8, W9, [X20,#0x48]                                    ; +0xa8, 0x100340804\nSUB             W2, W8, W9                                             ; +0xac, 0x100340808\nADRL            X1, a4; \"4\"                                            ; +0xb0, 0x10034080c\nMOV             X0, X19                                                ; +0xb8, 0x100340814\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0xbc, 0x100340818\nLDR             W2, [X20,#0x68]                                        ; +0xc0, 0x10034081c\nADRL            X1, a8; \"8\"                                            ; +0xc4, 0x100340820\nMOV             X0, X19                                                ; +0xcc, 0x100340828\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xd0, 0x10034082c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xd4, 0x100340830\nB               DS_Dictionary__setIntegerForKey_1                      ; +0xd8, 0x100340834", "xrefs": ["<???> @ 0x1007f0590"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}