{"type": "func", "start": 4295555616, "end": 4295555818, "name": "GJChallengeItem::encodeWithCoder", "pseudocode": "// \n// GJChallengeItem::encodeWithCoder from 0x10008fa20 to 0x10008faea (202 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b3968\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(a2, \"7\", &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 0x10008fa20 to 0x10008faea (202 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b3968\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    rbp                                                            ; +0x0, 0x10008fa20\nmov     rbp, rsp                                                       ; +0x1, 0x10008fa21\npush    r14                                                            ; +0x4, 0x10008fa24\npush    rbx                                                            ; +0x6, 0x10008fa26\nmov     rbx, rsi                                                       ; +0x7, 0x10008fa27\nmov     r14, rdi                                                       ; +0xa, 0x10008fa2a\nlea     rsi, aKcek; \"kCEK\"                                             ; +0xd, 0x10008fa2d\nmov     rdi, rbx                                                       ; +0x14, 0x10008fa34\nmov     edx, 7                                                         ; +0x17, 0x10008fa37\ncall    DS_Dictionary__setIntegerForKey_1                              ; +0x1c, 0x10008fa3c\nmov     edx, [r14+38h]                                                 ; +0x21, 0x10008fa41\nlea     rsi, a1; \"1\"                                                   ; +0x25, 0x10008fa45\nmov     rdi, rbx                                                       ; +0x2c, 0x10008fa4c\ncall    DS_Dictionary__setIntegerForKey_1                              ; +0x2f, 0x10008fa4f\nmov     edx, [r14+60h]                                                 ; +0x34, 0x10008fa54\nlea     rsi, a5; \"5\"                                                   ; +0x38, 0x10008fa58\nmov     rdi, rbx                                                       ; +0x3f, 0x10008fa5f\ncall    DS_Dictionary__setIntegerForKey_1                              ; +0x42, 0x10008fa62\nmovzx   edx, byte ptr [r14+64h]                                        ; +0x47, 0x10008fa67\nlea     rsi, a6; \"6\"                                                   ; +0x4c, 0x10008fa6c\nmov     rdi, rbx                                                       ; +0x53, 0x10008fa73\ncall    DS_Dictionary__setBoolForKey_1                                 ; +0x56, 0x10008fa76\nlea     rdx, [r14+70h]                                                 ; +0x5b, 0x10008fa7b\nlea     rsi, a7; \"7\"                                                   ; +0x5f, 0x10008fa7f\nmov     rdi, rbx                                                       ; +0x66, 0x10008fa86\ncall    DS_Dictionary__setStringForKey_1                               ; +0x69, 0x10008fa89\nmov     edx, [r14+3Ch]                                                 ; +0x6e, 0x10008fa8e\nsub     edx, [r14+40h]                                                 ; +0x72, 0x10008fa92\nlea     rsi, a2_1; \"2\"                                                 ; +0x76, 0x10008fa96\nmov     rdi, rbx                                                       ; +0x7d, 0x10008fa9d\ncall    DS_Dictionary__setIntegerForKey_1                              ; +0x80, 0x10008faa0\nmov     edx, [r14+54h]                                                 ; +0x85, 0x10008faa5\nsub     edx, [r14+58h]                                                 ; +0x89, 0x10008faa9\nlea     rsi, a3; \"3\"                                                   ; +0x8d, 0x10008faad\nmov     rdi, rbx                                                       ; +0x94, 0x10008fab4\ncall    DS_Dictionary__setIntegerForKey_1                              ; +0x97, 0x10008fab7\nmov     edx, [r14+48h]                                                 ; +0x9c, 0x10008fabc\nsub     edx, [r14+4Ch]                                                 ; +0xa0, 0x10008fac0\nlea     rsi, a4; \"4\"                                                   ; +0xa4, 0x10008fac4\nmov     rdi, rbx                                                       ; +0xab, 0x10008facb\ncall    DS_Dictionary__setIntegerForKey_1                              ; +0xae, 0x10008face\nmov     edx, [r14+68h]                                                 ; +0xb3, 0x10008fad3\nlea     rsi, a8; \"8\"                                                   ; +0xb7, 0x10008fad7\nmov     rdi, rbx                                                       ; +0xbe, 0x10008fade\npop     rbx                                                            ; +0xc1, 0x10008fae1\npop     r14                                                            ; +0xc2, 0x10008fae2\npop     rbp                                                            ; +0xc4, 0x10008fae4\njmp     DS_Dictionary__setIntegerForKey_1                              ; +0xc5, 0x10008fae5", "xrefs": ["<???> @ 0x1008b3968"], "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"}