{"type": "func", "start": 4295195264, "end": 4295195355, "name": "GJRewardObject::createItemUnlock", "pseudocode": "// \n// GJRewardObject::createItemUnlock from 0x100037a80 to 0x100037adb (91 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:19:32 +0000\n// \n\n_DWORD *__fastcall GJRewardObject::createItemUnlock(int a1, int a2)\n{\n  _DWORD *v2; // rbx\n\n  v2 = operator new(0x48u);\n  cocos2d::CCObject::CCObject(v2);\n  *(_QWORD *)v2 = off_100AB6EA8;\n  v2[14] = 9;\n  v2[16] = a2;\n  v2[17] = 1;\n  cocos2d::CCObject::autorelease(v2);\n  v2[15] = a1;\n  return v2;\n}", "assembly": "; \n; GJRewardObject::createItemUnlock from 0x100037a80 to 0x100037adb (91 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:19:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x100037a80\nmov     rbp, rsp                                                       ; +0x1, 0x100037a81\npush    r15                                                            ; +0x4, 0x100037a84\npush    r14                                                            ; +0x6, 0x100037a86\npush    rbx                                                            ; +0x8, 0x100037a88\npush    rax                                                            ; +0x9, 0x100037a89\nmov     r15d, esi                                                      ; +0xa, 0x100037a8a\nmov     r14d, edi                                                      ; +0xd, 0x100037a8d\nmov     edi, 48h ; 'H'; __sz                                           ; +0x10, 0x100037a90\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x100037a95\nmov     rbx, rax                                                       ; +0x1a, 0x100037a9a\nmov     rdi, rax                                                       ; +0x1d, 0x100037a9d\ncall    cocos2d__CCObject__CCObject                                    ; +0x20, 0x100037aa0\nlea     rax, off_100AB6EA8                                             ; +0x25, 0x100037aa5\nmov     [rbx], rax                                                     ; +0x2c, 0x100037aac\nmov     dword ptr [rbx+38h], 9                                         ; +0x2f, 0x100037aaf\nmov     [rbx+40h], r15d                                                ; +0x36, 0x100037ab6\nmov     dword ptr [rbx+44h], 1                                         ; +0x3a, 0x100037aba\nmov     rdi, rbx                                                       ; +0x41, 0x100037ac1\ncall    cocos2d__CCObject__autorelease                                 ; +0x44, 0x100037ac4\nmov     [rbx+3Ch], r14d                                                ; +0x49, 0x100037ac9\nmov     rax, rbx                                                       ; +0x4d, 0x100037acd\nadd     rsp, 8                                                         ; +0x50, 0x100037ad0\npop     rbx                                                            ; +0x54, 0x100037ad4\npop     r14                                                            ; +0x55, 0x100037ad5\npop     r15                                                            ; +0x57, 0x100037ad7\npop     rbp                                                            ; +0x59, 0x100037ad9\nretn                                                                   ; +0x5a, 0x100037ada", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}