{"type": "func", "start": 6443115632, "end": 6443115747, "name": "cocos2d::unzSetOffset64", "pseudocode": "// \n// cocos2d::unzSetOffset64 from 0x1800a2470 to 0x1800a24e3 (115 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b79e0\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\n__int64 __fastcall cocos2d::unzSetOffset64(cocos2d *this, void *a2)\n{\n  __int64 result; // rax\n  __int64 v4; // rax\n\n  if ( !this )\n    return 4294967194LL;\n  v4 = *((_QWORD *)this + 13);\n  *((_QWORD *)this + 17) = a2;\n  *((_QWORD *)this + 16) = v4;\n  result = sub_18009FC50((__int64)this, (__int64)this + 176, (_QWORD *)this + 33, 0, 0, 0, 0, 0, 0);\n  *((_QWORD *)this + 18) = (_DWORD)result == 0;\n  return result;\n}", "assembly": "; \n; cocos2d::unzSetOffset64 from 0x1800a2470 to 0x1800a24e3 (115 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b79e0\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    rdi                                                            ; +0x0, 0x1800a2470\nsub     rsp, 50h                                                       ; +0x2, 0x1800a2472\nmov     rdi, rcx                                                       ; +0x6, 0x1800a2476\ntest    rcx, rcx                                                       ; +0x9, 0x1800a2479\njnz     short loc_1800A2487                                            ; +0xc, 0x1800a247c\nlea     eax, [rcx-66h]                                                 ; +0xe, 0x1800a247e\nadd     rsp, 50h                                                       ; +0x11, 0x1800a2481\npop     rdi                                                            ; +0x15, 0x1800a2485\nretn                                                                   ; +0x16, 0x1800a2486\nmov     rax, [rcx+68h]                                                 ; +0x17, 0x1800a2487\nlea     r8, [rcx+108h]                                                 ; +0x1b, 0x1800a248b\nmov     [rcx+88h], rdx                                                 ; +0x22, 0x1800a2492\nxor     r9d, r9d                                                       ; +0x29, 0x1800a2499\nmov     [rsp+58h+arg_0], rbx                                           ; +0x2c, 0x1800a249c\nlea     rdx, [rcx+0B0h]                                                ; +0x31, 0x1800a24a1\nxor     ebx, ebx                                                       ; +0x38, 0x1800a24a8\nmov     [rcx+80h], rax                                                 ; +0x3a, 0x1800a24aa\nmov     [rsp+58h+var_18], ebx                                          ; +0x41, 0x1800a24b1\nmov     [rsp+58h+var_20], rbx                                          ; +0x45, 0x1800a24b5\nmov     [rsp+58h+var_28], ebx                                          ; +0x4a, 0x1800a24ba\nmov     [rsp+58h+var_30], rbx                                          ; +0x4e, 0x1800a24be\nmov     [rsp+58h+var_38], ebx                                          ; +0x53, 0x1800a24c3\ncall    sub_18009FC50                                                  ; +0x57, 0x1800a24c7\ntest    eax, eax                                                       ; +0x5c, 0x1800a24cc\nsetz    bl                                                             ; +0x5e, 0x1800a24ce\nmov     [rdi+90h], rbx                                                 ; +0x61, 0x1800a24d1\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x68, 0x1800a24d8\nadd     rsp, 50h                                                       ; +0x6d, 0x1800a24dd\npop     rdi                                                            ; +0x71, 0x1800a24e1\nretn                                                                   ; +0x72, 0x1800a24e2", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b79e0"], "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"}