{"type": "func", "start": 5370758944, "end": 5370759053, "name": "GJRewardItem::encodeWithCoder", "pseudocode": "// \n// GJRewardItem::encodeWithCoder from 0x1401f4720 to 0x1401f478d (109 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140563290\n// > <???> @ 0x1406cc798\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 GJRewardItem::encodeWithCoder(GJRewardItem *a1, DS_Dictionary *a2)\n{\n  DS_Dictionary::setIntegerForKey(a2, \"kCEK\", 8);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531EA4, a1->m_chestID);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531EA0, a1->m_rewardType);\n  DS_Dictionary::setArrayForKey(a2, (const char *)&word_140531E9C, a1->m_rewardObjects);\n}", "assembly": "; \n; GJRewardItem::encodeWithCoder from 0x1401f4720 to 0x1401f478d (109 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140563290\n; > <???> @ 0x1406cc798\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401f4720\npush    rdi                                                            ; +0x5, 0x1401f4725\nsub     rsp, 20h                                                       ; +0x6, 0x1401f4726\nmov     rdi, rdx                                                       ; +0xa, 0x1401f472a\nmov     rbx, rcx                                                       ; +0xd, 0x1401f472d\nmov     rcx, rdi                                                       ; +0x10, 0x1401f4730\nlea     rdx, aKcek; \"kCEK\"                                             ; +0x13, 0x1401f4733\nmov     r8d, 8                                                         ; +0x1a, 0x1401f473a\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x20, 0x1401f4740\nmov     r8d, [rbx+38h]                                                 ; +0x26, 0x1401f4746\nlea     rdx, word_140531EA4                                            ; +0x2a, 0x1401f474a\nmov     rcx, rdi                                                       ; +0x31, 0x1401f4751\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x34, 0x1401f4754\nmov     r8d, [rbx+40h]                                                 ; +0x3a, 0x1401f475a\nlea     rdx, word_140531EA0                                            ; +0x3e, 0x1401f475e\nmov     rcx, rdi                                                       ; +0x45, 0x1401f4765\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x48, 0x1401f4768\nmov     r8, [rbx+48h]                                                  ; +0x4e, 0x1401f476e\nlea     rdx, word_140531E9C                                            ; +0x52, 0x1401f4772\nmov     rcx, rdi                                                       ; +0x59, 0x1401f4779\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5c, 0x1401f477c\nadd     rsp, 20h                                                       ; +0x61, 0x1401f4781\npop     rdi                                                            ; +0x65, 0x1401f4785\njmp     cs:?setArrayForKey@DS_Dictionary@@QEAAXPEBDPEAVCCArray@cocos2d@@@Z; DS_Dictionary::setArrayForKey(char const *,cocos2d::CCArray *) ; +0x66, 0x1401f4786", "xrefs": ["<???> @ 0x140563290", "<???> @ 0x1406cc798"], "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"}