{"type": "func", "start": 4295434144, "end": 4295434235, "name": "GJRewardObject::createItemUnlock", "pseudocode": "// \n// GJRewardObject::createItemUnlock from 0x100071fa0 to 0x100071ffb (91 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\nGJRewardObject *__fastcall GJRewardObject::createItemUnlock(UnlockType a1, int a2)\n{\n  GJRewardObject *v2; // rbx\n\n  v2 = (GJRewardObject *)operator new(0x48u);\n  cocos2d::CCObject::CCObject(v2);\n  v2->__vftable = (GJRewardObject_vtbl *)off_1008B38A8;\n  v2->m_specialRewardItem = CustomItem;\n  v2->m_itemID = a2;\n  v2->m_total = 1;\n  cocos2d::CCObject::autorelease(v2);\n  v2->m_unlockType = a1;\n  return v2;\n}", "assembly": "; \n; GJRewardObject::createItemUnlock from 0x100071fa0 to 0x100071ffb (91 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    rbp                                                            ; +0x0, 0x100071fa0\nmov     rbp, rsp                                                       ; +0x1, 0x100071fa1\npush    r15                                                            ; +0x4, 0x100071fa4\npush    r14                                                            ; +0x6, 0x100071fa6\npush    rbx                                                            ; +0x8, 0x100071fa8\npush    rax                                                            ; +0x9, 0x100071fa9\nmov     r15d, esi                                                      ; +0xa, 0x100071faa\nmov     r14d, edi                                                      ; +0xd, 0x100071fad\nmov     edi, 48h ; 'H'; __sz                                           ; +0x10, 0x100071fb0\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x100071fb5\nmov     rbx, rax                                                       ; +0x1a, 0x100071fba\nmov     rdi, rax                                                       ; +0x1d, 0x100071fbd\ncall    cocos2d__CCObject__CCObject                                    ; +0x20, 0x100071fc0\nlea     rax, off_1008B38A8                                             ; +0x25, 0x100071fc5\nmov     [rbx], rax                                                     ; +0x2c, 0x100071fcc\nmov     dword ptr [rbx+38h], 9                                         ; +0x2f, 0x100071fcf\nmov     [rbx+40h], r15d                                                ; +0x36, 0x100071fd6\nmov     dword ptr [rbx+44h], 1                                         ; +0x3a, 0x100071fda\nmov     rdi, rbx                                                       ; +0x41, 0x100071fe1\ncall    cocos2d__CCObject__autorelease                                 ; +0x44, 0x100071fe4\nmov     [rbx+3Ch], r14d                                                ; +0x49, 0x100071fe9\nmov     rax, rbx                                                       ; +0x4d, 0x100071fed\nadd     rsp, 8                                                         ; +0x50, 0x100071ff0\npop     rbx                                                            ; +0x54, 0x100071ff4\npop     r14                                                            ; +0x55, 0x100071ff5\npop     r15                                                            ; +0x57, 0x100071ff7\npop     rbp                                                            ; +0x59, 0x100071ff9\nretn                                                                   ; +0x5a, 0x100071ffa", "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"}