{"type": "func", "start": 4295552336, "end": 4295552480, "name": "GJRewardObject::createWithCoder", "pseudocode": "// \n// GJRewardObject::createWithCoder from 0x10008ed50 to 0x10008ede0 (144 bytes)\n// \n// 1 xrefs:\n// > GJObjectDecoder::getDecodedObject @ 0x1007248f6\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\nGJRewardObject *__fastcall GJRewardObject::createWithCoder(DS_Dictionary *a1)\n{\n  GJRewardObject *v1; // rbx\n\n  v1 = (GJRewardObject *)operator new(0x48u);\n  cocos2d::CCObject::CCObject(v1);\n  v1->__vftable = (GJRewardObject_vtbl *)off_1008B38A8;\n  v1->m_specialRewardItem = 0;\n  *(_QWORD *)&v1->m_itemID = 0;\n  cocos2d::CCObject::autorelease(v1);\n  v1->m_specialRewardItem = DS_Dictionary::getIntegerForKey(a1, \"1\");\n  v1->m_itemID = DS_Dictionary::getIntegerForKey(a1, \"2\");\n  v1->m_total = DS_Dictionary::getIntegerForKey(a1, \"3\");\n  v1->m_unlockType = DS_Dictionary::getIntegerForKey(a1, \"4\");\n  return v1;\n}", "assembly": "; \n; GJRewardObject::createWithCoder from 0x10008ed50 to 0x10008ede0 (144 bytes)\n; \n; 1 xrefs:\n; > GJObjectDecoder::getDecodedObject @ 0x1007248f6\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, 0x10008ed50\nmov     rbp, rsp                                                       ; +0x1, 0x10008ed51\npush    r14                                                            ; +0x4, 0x10008ed54\npush    rbx                                                            ; +0x6, 0x10008ed56\nmov     r14, rdi                                                       ; +0x7, 0x10008ed57\nmov     edi, 48h ; 'H'; __sz                                           ; +0xa, 0x10008ed5a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10008ed5f\nmov     rbx, rax                                                       ; +0x14, 0x10008ed64\nmov     rdi, rax                                                       ; +0x17, 0x10008ed67\ncall    cocos2d__CCObject__CCObject                                    ; +0x1a, 0x10008ed6a\nlea     rax, off_1008B38A8                                             ; +0x1f, 0x10008ed6f\nmov     [rbx], rax                                                     ; +0x26, 0x10008ed76\nmov     dword ptr [rbx+38h], 0                                         ; +0x29, 0x10008ed79\nmov     qword ptr [rbx+40h], 0                                         ; +0x30, 0x10008ed80\nmov     rdi, rbx                                                       ; +0x38, 0x10008ed88\ncall    cocos2d__CCObject__autorelease                                 ; +0x3b, 0x10008ed8b\nlea     rsi, a1; \"1\"                                                   ; +0x40, 0x10008ed90\nmov     rdi, r14                                                       ; +0x47, 0x10008ed97\ncall    DS_Dictionary__getIntegerForKey                                ; +0x4a, 0x10008ed9a\nmov     [rbx+38h], eax                                                 ; +0x4f, 0x10008ed9f\nlea     rsi, a2_1; \"2\"                                                 ; +0x52, 0x10008eda2\nmov     rdi, r14                                                       ; +0x59, 0x10008eda9\ncall    DS_Dictionary__getIntegerForKey                                ; +0x5c, 0x10008edac\nmov     [rbx+40h], eax                                                 ; +0x61, 0x10008edb1\nlea     rsi, a3; \"3\"                                                   ; +0x64, 0x10008edb4\nmov     rdi, r14                                                       ; +0x6b, 0x10008edbb\ncall    DS_Dictionary__getIntegerForKey                                ; +0x6e, 0x10008edbe\nmov     [rbx+44h], eax                                                 ; +0x73, 0x10008edc3\nlea     rsi, a4; \"4\"                                                   ; +0x76, 0x10008edc6\nmov     rdi, r14                                                       ; +0x7d, 0x10008edcd\ncall    DS_Dictionary__getIntegerForKey                                ; +0x80, 0x10008edd0\nmov     [rbx+3Ch], eax                                                 ; +0x85, 0x10008edd5\nmov     rax, rbx                                                       ; +0x88, 0x10008edd8\npop     rbx                                                            ; +0x8b, 0x10008eddb\npop     r14                                                            ; +0x8c, 0x10008eddc\npop     rbp                                                            ; +0x8e, 0x10008edde\nretn                                                                   ; +0x8f, 0x10008eddf", "xrefs": ["GJObjectDecoder::getDecodedObject @ 0x1007248f6"], "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"}