{"type": "func", "start": 6443115760, "end": 6443115877, "name": "cocos2d::unzSetOffset", "pseudocode": "// \n// cocos2d::unzSetOffset from 0x1800a24f0 to 0x1800a2565 (117 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b79ec\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::unzSetOffset(cocos2d *this, void *a2)\n{\n  __int64 result; // rax\n\n  if ( !this )\n    return 4294967194LL;\n  *((_QWORD *)this + 17) = (unsigned int)a2;\n  *((_QWORD *)this + 16) = *((_QWORD *)this + 13);\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::unzSetOffset from 0x1800a24f0 to 0x1800a2565 (117 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b79ec\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, 0x1800a24f0\nsub     rsp, 50h                                                       ; +0x2, 0x1800a24f2\nmov     rdi, rcx                                                       ; +0x6, 0x1800a24f6\ntest    rcx, rcx                                                       ; +0x9, 0x1800a24f9\njnz     short loc_1800A2507                                            ; +0xc, 0x1800a24fc\nlea     eax, [rcx-66h]                                                 ; +0xe, 0x1800a24fe\nadd     rsp, 50h                                                       ; +0x11, 0x1800a2501\npop     rdi                                                            ; +0x15, 0x1800a2505\nretn                                                                   ; +0x16, 0x1800a2506\nmov     eax, edx                                                       ; +0x17, 0x1800a2507\nlea     r8, [rcx+108h]                                                 ; +0x19, 0x1800a2509\nmov     [rcx+88h], rax                                                 ; +0x20, 0x1800a2510\nlea     rdx, [rcx+0B0h]                                                ; +0x27, 0x1800a2517\nmov     rax, [rcx+68h]                                                 ; +0x2e, 0x1800a251e\nxor     r9d, r9d                                                       ; +0x32, 0x1800a2522\nmov     [rsp+58h+arg_0], rbx                                           ; +0x35, 0x1800a2525\nxor     ebx, ebx                                                       ; +0x3a, 0x1800a252a\nmov     [rsp+58h+var_18], ebx                                          ; +0x3c, 0x1800a252c\nmov     [rsp+58h+var_20], rbx                                          ; +0x40, 0x1800a2530\nmov     [rsp+58h+var_28], ebx                                          ; +0x45, 0x1800a2535\nmov     [rsp+58h+var_30], rbx                                          ; +0x49, 0x1800a2539\nmov     [rsp+58h+var_38], ebx                                          ; +0x4e, 0x1800a253e\nmov     [rcx+80h], rax                                                 ; +0x52, 0x1800a2542\ncall    sub_18009FC50                                                  ; +0x59, 0x1800a2549\ntest    eax, eax                                                       ; +0x5e, 0x1800a254e\nsetz    bl                                                             ; +0x60, 0x1800a2550\nmov     [rdi+90h], rbx                                                 ; +0x63, 0x1800a2553\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x6a, 0x1800a255a\nadd     rsp, 50h                                                       ; +0x6f, 0x1800a255f\npop     rdi                                                            ; +0x73, 0x1800a2563\nretn                                                                   ; +0x74, 0x1800a2564", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b79ec"], "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"}