{"type": "func", "start": 7999768, "end": 8000000, "name": "GJChallengeItem::encodeWithCoder", "pseudocode": "// \n// GJChallengeItem::encodeWithCoder from 0x7a1118 to 0x7a1200 (232 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xc6dc8\n// > <???> @ 0x117c160\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 GJChallengeItem::encodeWithCoder(GJChallengeItem *a1, DS_Dictionary *a2)\n{\n  DS_Dictionary::setIntegerForKey(a2, \"kCEK\", 7);\n  DS_Dictionary::setIntegerForKey(a2, \"1\", a1->m_challengeType);\n  DS_Dictionary::setIntegerForKey(a2, \"5\", a1->m_timeLeft);\n  DS_Dictionary::setBoolForKey(a2, \"6\", a1->m_canClaim);\n  DS_Dictionary::setStringForKey(a2, \"7\", &a1->m_name);\n  DS_Dictionary::setIntegerForKey(a2, &byte_F78BA8, a1->m_count.random - a1->m_count.seed);\n  DS_Dictionary::setIntegerForKey(a2, \"3\", a1->m_goal.random - a1->m_goal.seed);\n  DS_Dictionary::setIntegerForKey(a2, &byte_F2CA20, a1->m_reward.random - a1->m_reward.seed);\n  DS_Dictionary::setIntegerForKey(a2, \"8\", a1->m_position);\n}", "assembly": "; \n; GJChallengeItem::encodeWithCoder from 0x7a1118 to 0x7a1200 (232 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xc6dc8\n; > <???> @ 0x117c160\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             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x7a1118\nMOV             W2, #7; int                                            ; +0x4, 0x7a111c\nMOV             X29, SP                                                ; +0x8, 0x7a1120\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x7a1124\nMOV             X20, X1                                                ; +0x10, 0x7a1128\nADRP            X1, #aKcek@PAGE; \"kCEK\"                                ; +0x14, 0x7a112c\nMOV             X19, X0                                                ; +0x18, 0x7a1130\nADD             X1, X1, #aKcek@PAGEOFF; \"kCEK\"                         ; +0x1c, 0x7a1134\nMOV             X0, X20; this                                          ; +0x20, 0x7a1138\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x24, 0x7a113c\nLDR             W2, [X19,#0x38]; int                                   ; +0x28, 0x7a1140\nADRP            X1, #(aReachPathOfLav+0x18)@PAGE; \"1\"                  ; +0x2c, 0x7a1144\nMOV             X0, X20; this                                          ; +0x30, 0x7a1148\nADD             X1, X1, #(aReachPathOfLav+0x18)@PAGEOFF; char *        ; +0x34, 0x7a114c\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x38, 0x7a1150\nLDR             W2, [X19,#0x60]; int                                   ; +0x3c, 0x7a1154\nADRP            X1, #(aReachPathOfLav_3+0x18)@PAGE; \"5\"                ; +0x40, 0x7a1158\nMOV             X0, X20; this                                          ; +0x44, 0x7a115c\nADD             X1, X1, #(aReachPathOfLav_3+0x18)@PAGEOFF; char *      ; +0x48, 0x7a1160\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x4c, 0x7a1164\nLDRB            W2, [X19,#0x64]; bool                                  ; +0x50, 0x7a1168\nADRP            X1, #(aReachPathOfLav_4+0x18)@PAGE; \"6\"                ; +0x54, 0x7a116c\nMOV             X0, X20; this                                          ; +0x58, 0x7a1170\nADD             X1, X1, #(aReachPathOfLav_4+0x18)@PAGEOFF; char *      ; +0x5c, 0x7a1174\nBL              _ZN13DS_Dictionary13setBoolForKeyEPKcb; DS_Dictionary::setBoolForKey(char const*,bool) ; +0x60, 0x7a1178\nADRP            X1, #(aReachPathOfLav_5+0x18)@PAGE; \"7\"                ; +0x64, 0x7a117c\nMOV             X0, X20                                                ; +0x68, 0x7a1180\nADD             X2, X19, #0x70 ; 'p'                                   ; +0x6c, 0x7a1184\nADD             X1, X1, #(aReachPathOfLav_5+0x18)@PAGEOFF; \"7\"         ; +0x70, 0x7a1188\nBL              _ZN13DS_Dictionary15setStringForKeyEPKcRKSs; DS_Dictionary::setStringForKey(char const*,std::string const&) ; +0x74, 0x7a118c\nLDR             W3, [X19,#0x3C]                                        ; +0x78, 0x7a1190\nADRP            X1, #byte_F78BA8@PAGE                                  ; +0x7c, 0x7a1194\nLDR             W2, [X19,#0x40]                                        ; +0x80, 0x7a1198\nMOV             X0, X20; this                                          ; +0x84, 0x7a119c\nADD             X1, X1, #byte_F78BA8@PAGEOFF; char *                   ; +0x88, 0x7a11a0\nSUB             W2, W3, W2; int                                        ; +0x8c, 0x7a11a4\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x90, 0x7a11a8\nLDR             W3, [X19,#0x54]                                        ; +0x94, 0x7a11ac\nADRP            X1, #(aReachPathOfLav_1+0x18)@PAGE; \"3\"                ; +0x98, 0x7a11b0\nLDR             W2, [X19,#0x58]                                        ; +0x9c, 0x7a11b4\nMOV             X0, X20; this                                          ; +0xa0, 0x7a11b8\nADD             X1, X1, #(aReachPathOfLav_1+0x18)@PAGEOFF; char *      ; +0xa4, 0x7a11bc\nSUB             W2, W3, W2; int                                        ; +0xa8, 0x7a11c0\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0xac, 0x7a11c4\nLDR             W3, [X19,#0x48]                                        ; +0xb0, 0x7a11c8\nADRP            X1, #byte_F2CA20@PAGE                                  ; +0xb4, 0x7a11cc\nLDR             W2, [X19,#0x4C]                                        ; +0xb8, 0x7a11d0\nMOV             X0, X20; this                                          ; +0xbc, 0x7a11d4\nADD             X1, X1, #byte_F2CA20@PAGEOFF; char *                   ; +0xc0, 0x7a11d8\nSUB             W2, W3, W2; int                                        ; +0xc4, 0x7a11dc\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0xc8, 0x7a11e0\nLDR             W2, [X19,#0x68]; int                                   ; +0xcc, 0x7a11e4\nMOV             X0, X20; this                                          ; +0xd0, 0x7a11e8\nADRP            X1, #(aReachPathOfLav_6+0x18)@PAGE; \"8\"                ; +0xd4, 0x7a11ec\nLDP             X19, X20, [SP,#var_s10]                                ; +0xd8, 0x7a11f0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xdc, 0x7a11f4\nADD             X1, X1, #(aReachPathOfLav_6+0x18)@PAGEOFF; char *      ; +0xe0, 0x7a11f8\nB               _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0xe4, 0x7a11fc", "xrefs": ["<???> @ 0xc6dc8", "<???> @ 0x117c160"], "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"}