{"type": "func", "start": 4244400, "end": 4244534, "name": "GJChallengeItem::encodeWithCoder", "pseudocode": "// \n// GJChallengeItem::encodeWithCoder from 0x40c3b0 to 0x40c436 (134 bytes)\n// \n// 0 xrefs:\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, (const char *)&aO1i2r3e45s7t89[1], a1->m_challengeType);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[8], a1->m_timeLeft);\n  DS_Dictionary::setBoolForKey(a2, \"6\", a1->m_canClaim);\n  DS_Dictionary::setStringForKey(a2, (const char *)&aO1i2r3e45s7t89[10], &a1->m_name);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[3], a1->m_count.random - a1->m_count.seed);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[5], a1->m_goal.random - a1->m_goal.seed);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[7], a1->m_reward.random - a1->m_reward.seed);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&aO1i2r3e45s7t89[12], a1->m_position);\n}", "assembly": "; \n; GJChallengeItem::encodeWithCoder from 0x40c3b0 to 0x40c436 (134 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x40c3b0\nMOV             R4, R0                                                 ; +0x2, 0x40c3b2\nMOV             R5, R1                                                 ; +0x4, 0x40c3b4\nMOV             R0, R1; this                                           ; +0x6, 0x40c3b6\nLDR             R1, =(aKcek - 0x40C3C0); \"kCEK\"                        ; +0x8, 0x40c3b8\nMOVS            R2, #7; int                                            ; +0xa, 0x40c3ba\nADD             R1, PC; \"kCEK\"                                         ; +0xc, 0x40c3bc\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0xe, 0x40c3be\nLDR             R1, =(aO1i2r3e45s7t89+2 - 0x40C3CC); \"1i2r3e45s7t89g\"  ; +0x12, 0x40c3c2\nMOV             R0, R5; this                                           ; +0x14, 0x40c3c4\nLDR             R2, [R4,#0x34]; int                                    ; +0x16, 0x40c3c6\nADD             R1, PC; \"1i2r3e45s7t89g\" ; char *                      ; +0x18, 0x40c3c8\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x1a, 0x40c3ca\nLDR             R1, =(aO1i2r3e45s7t89+0x10 - 0x40C3D8); \"5s7t89g\"      ; +0x1e, 0x40c3ce\nMOV             R0, R5; this                                           ; +0x20, 0x40c3d0\nLDR             R2, [R4,#0x5C]; int                                    ; +0x22, 0x40c3d2\nADD             R1, PC; \"5s7t89g\" ; char *                             ; +0x24, 0x40c3d4\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x26, 0x40c3d6\nLDR             R1, =(a6 - 0x40C3E6); \"6\"                              ; +0x2a, 0x40c3da\nMOV             R0, R5; this                                           ; +0x2c, 0x40c3dc\nLDRB.W          R2, [R4,#0x60]; bool                                   ; +0x2e, 0x40c3de\nADD             R1, PC; \"6\"                                            ; +0x32, 0x40c3e2\nBL              _ZN13DS_Dictionary13setBoolForKeyEPKcb; DS_Dictionary::setBoolForKey(char const*,bool) ; +0x34, 0x40c3e4\nLDR             R1, =(aO1i2r3e45s7t89+0x14 - 0x40C3F4); \"7t89g\"        ; +0x38, 0x40c3e8\nMOV             R0, R5                                                 ; +0x3a, 0x40c3ea\nADD.W           R2, R4, #0x68 ; 'h'                                    ; +0x3c, 0x40c3ec\nADD             R1, PC; \"7t89g\"                                        ; +0x40, 0x40c3f0\nBL              _ZN13DS_Dictionary15setStringForKeyEPKcRKSs; DS_Dictionary::setStringForKey(char const*,std::string const&) ; +0x42, 0x40c3f2\nLDR             R3, [R4,#0x3C]                                         ; +0x46, 0x40c3f6\nLDR             R2, [R4,#0x38]                                         ; +0x48, 0x40c3f8\nMOV             R0, R5; this                                           ; +0x4a, 0x40c3fa\nLDR             R1, =(aO1i2r3e45s7t89+6 - 0x40C404); \"2r3e45s7t89g\"    ; +0x4c, 0x40c3fc\nSUBS            R2, R2, R3; int                                        ; +0x4e, 0x40c3fe\nADD             R1, PC; \"2r3e45s7t89g\" ; char *                        ; +0x50, 0x40c400\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x52, 0x40c402\nLDR             R3, [R4,#0x54]                                         ; +0x56, 0x40c406\nLDR             R2, [R4,#0x50]                                         ; +0x58, 0x40c408\nMOV             R0, R5; this                                           ; +0x5a, 0x40c40a\nLDR             R1, =(aO1i2r3e45s7t89+0xA - 0x40C414); \"3e45s7t89g\"    ; +0x5c, 0x40c40c\nSUBS            R2, R2, R3; int                                        ; +0x5e, 0x40c40e\nADD             R1, PC; \"3e45s7t89g\" ; char *                          ; +0x60, 0x40c410\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x62, 0x40c412\nLDR             R2, [R4,#0x44]                                         ; +0x66, 0x40c416\nLDR             R3, [R4,#0x48]                                         ; +0x68, 0x40c418\nMOV             R0, R5; this                                           ; +0x6a, 0x40c41a\nLDR             R1, =(aO1i2r3e45s7t89+0xE - 0x40C424); \"45s7t89g\"      ; +0x6c, 0x40c41c\nSUBS            R2, R2, R3; int                                        ; +0x6e, 0x40c41e\nADD             R1, PC; \"45s7t89g\" ; char *                            ; +0x70, 0x40c420\nBL              _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x72, 0x40c422\nLDR             R1, =(aO1i2r3e45s7t89+0x18 - 0x40C430); \"89g\"          ; +0x76, 0x40c426\nMOV             R0, R5; this                                           ; +0x78, 0x40c428\nLDR             R2, [R4,#0x64]; int                                    ; +0x7a, 0x40c42a\nADD             R1, PC; \"89g\" ; char *                                 ; +0x7c, 0x40c42c\nPOP.W           {R3-R5,LR}                                             ; +0x7e, 0x40c42e\nB.W             _ZN13DS_Dictionary16setIntegerForKeyEPKci; DS_Dictionary::setIntegerForKey(char const*,int) ; +0x82, 0x40c432", "xrefs": [], "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"}