{"type": "func", "start": 6443109760, "end": 6443109815, "name": "cocos2d::unzGetOffset", "pseudocode": "// \n// cocos2d::unzGetOffset from 0x1800a0d80 to 0x1800a0db7 (55 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\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::unzGetOffset(cocos2d *this, void *a2)\n{\n  __int64 v3; // rax\n\n  if ( !this )\n    return 0;\n  if ( !*((_QWORD *)this + 18) )\n    return 0;\n  v3 = *((_QWORD *)this + 13);\n  if ( v3 )\n  {\n    if ( v3 != 0xFFFF && *((_QWORD *)this + 16) == v3 )\n      return 0;\n  }\n  return *((_QWORD *)this + 17);\n}", "assembly": "; \n; cocos2d::unzGetOffset from 0x1800a0d80 to 0x1800a0db7 (55 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\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\ntest    rcx, rcx                                                       ; +0x0, 0x1800a0d80\njnz     short loc_1800A0D88                                            ; +0x3, 0x1800a0d83\nxor     eax, eax                                                       ; +0x5, 0x1800a0d85\nretn                                                                   ; +0x7, 0x1800a0d87\ncmp     qword ptr [rcx+90h], 0                                         ; +0x8, 0x1800a0d88\njnz     short loc_1800A0D95                                            ; +0x10, 0x1800a0d90\nxor     eax, eax                                                       ; +0x12, 0x1800a0d92\nretn                                                                   ; +0x14, 0x1800a0d94\nmov     rax, [rcx+68h]                                                 ; +0x15, 0x1800a0d95\ntest    rax, rax                                                       ; +0x19, 0x1800a0d99\njz      short loc_1800A0DAF                                            ; +0x1c, 0x1800a0d9c\ncmp     rax, 0FFFFh                                                    ; +0x1e, 0x1800a0d9e\njz      short loc_1800A0DAF                                            ; +0x24, 0x1800a0da4\ncmp     [rcx+80h], rax                                                 ; +0x26, 0x1800a0da6\njz      short loc_1800A0D92                                            ; +0x2d, 0x1800a0dad\nmov     rax, [rcx+88h]                                                 ; +0x2f, 0x1800a0daf\nretn                                                                   ; +0x36, 0x1800a0db6", "xrefs": ["<???> @ 0x1801438a8"], "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"}