{"type": "func", "start": 6443110416, "end": 6443110703, "name": "cocos2d::unzGoToNextFile64", "pseudocode": "// \n// cocos2d::unzGoToNextFile64 from 0x1800a1010 to 0x1800a112f (287 bytes)\n// \n// 7 xrefs:\n// > cocos2d::unzGoToNextFile @ 0x1800a1138\n// > cocos2d::unzLocateFile @ 0x1800a1325\n// > <???> @ 0x18013f2c8\n// > <???> @ 0x18013f2dc\n// > <???> @ 0x18013f2ec\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b7848\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::unzGoToNextFile64(\n        cocos2d *this,\n        _OWORD *a2,\n        struct cocos2d::unz_file_info64_s *a3,\n        char *a4)\n{\n  __int64 result; // rax\n  __int64 v7; // rcx\n  int v8; // ecx\n  int v9; // eax\n\n  if ( !this )\n    return 4294967194LL;\n  if ( !*((_QWORD *)this + 18) )\n    return 4294967196LL;\n  v7 = *((_QWORD *)this + 13);\n  if ( v7 != 0xFFFF && *((_QWORD *)this + 16) + 1LL == v7 )\n    return 4294967196LL;\n  v8 = *((_DWORD *)this + 55) + *((_DWORD *)this + 56);\n  v9 = *((_DWORD *)this + 54) + 46;\n  ++*((_QWORD *)this + 16);\n  *((_QWORD *)this + 17) += (unsigned int)(v8 + v9);\n  result = sub_18009FC50(\n             (__int64)this,\n             (__int64)this + 176,\n             (_QWORD *)this + 33,\n             (__int64)a3,\n             (unsigned int)a4,\n             0,\n             0,\n             0,\n             0);\n  *((_QWORD *)this + 18) = (_DWORD)result == 0;\n  if ( a2 )\n  {\n    *a2 = *((_OWORD *)this + 11);\n    a2[1] = *((_OWORD *)this + 12);\n    a2[2] = *((_OWORD *)this + 13);\n    a2[3] = *((_OWORD *)this + 14);\n    a2[4] = *((_OWORD *)this + 15);\n    *((_QWORD *)a2 + 10) = *((_QWORD *)this + 32);\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::unzGoToNextFile64 from 0x1800a1010 to 0x1800a112f (287 bytes)\n; \n; 7 xrefs:\n; > cocos2d::unzGoToNextFile @ 0x1800a1138\n; > cocos2d::unzLocateFile @ 0x1800a1325\n; > <???> @ 0x18013f2c8\n; > <???> @ 0x18013f2dc\n; > <???> @ 0x18013f2ec\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b7848\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\nmov     [rsp+arg_10], rsi                                              ; +0x0, 0x1800a1010\npush    rdi                                                            ; +0x5, 0x1800a1015\nsub     rsp, 50h                                                       ; +0x6, 0x1800a1016\nmov     r10, r8                                                        ; +0xa, 0x1800a101a\nmov     rsi, rdx                                                       ; +0xd, 0x1800a101d\nmov     rdi, rcx                                                       ; +0x10, 0x1800a1020\ntest    rcx, rcx                                                       ; +0x13, 0x1800a1023\njnz     short loc_1800A1036                                            ; +0x16, 0x1800a1026\nlea     eax, [rcx-66h]                                                 ; +0x18, 0x1800a1028\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x1b, 0x1800a102b\nadd     rsp, 50h                                                       ; +0x20, 0x1800a1030\npop     rdi                                                            ; +0x24, 0x1800a1034\nretn                                                                   ; +0x25, 0x1800a1035\ncmp     qword ptr [rcx+90h], 0                                         ; +0x26, 0x1800a1036\njz      loc_1800A111F                                                  ; +0x2e, 0x1800a103e\nmov     rcx, [rcx+68h]                                                 ; +0x34, 0x1800a1044\ncmp     rcx, 0FFFFh                                                    ; +0x38, 0x1800a1048\njz      short loc_1800A1064                                            ; +0x3f, 0x1800a104f\nmov     rax, [rdi+80h]                                                 ; +0x41, 0x1800a1051\ninc     rax                                                            ; +0x48, 0x1800a1058\ncmp     rax, rcx                                                       ; +0x4b, 0x1800a105b\njz      loc_1800A111F                                                  ; +0x4e, 0x1800a105e\nmov     ecx, [rdi+0E0h]                                                ; +0x54, 0x1800a1064\nlea     r8, [rdi+108h]                                                 ; +0x5a, 0x1800a106a\nmov     eax, [rdi+0D8h]                                                ; +0x61, 0x1800a1071\nadd     ecx, [rdi+0DCh]                                                ; +0x67, 0x1800a1077\nadd     eax, 2Eh ; '.'                                                 ; +0x6d, 0x1800a107d\ninc     qword ptr [rdi+80h]                                            ; +0x70, 0x1800a1080\nadd     eax, ecx                                                       ; +0x77, 0x1800a1087\nadd     [rdi+88h], rax                                                 ; +0x79, 0x1800a1089\nmov     rcx, rdi                                                       ; +0x80, 0x1800a1090\nmov     [rsp+58h+arg_0], rbx                                           ; +0x83, 0x1800a1093\nxor     ebx, ebx                                                       ; +0x88, 0x1800a1098\nmov     [rsp+58h+var_18], ebx                                          ; +0x8a, 0x1800a109a\nmov     [rsp+58h+var_20], rbx                                          ; +0x8e, 0x1800a109e\nmov     [rsp+58h+var_28], ebx                                          ; +0x93, 0x1800a10a3\nmov     [rsp+58h+arg_8], rbp                                           ; +0x97, 0x1800a10a7\nlea     rbp, [rdi+0B0h]                                                ; +0x9c, 0x1800a10ac\nmov     [rsp+58h+var_30], rbx                                          ; +0xa3, 0x1800a10b3\nmov     rdx, rbp                                                       ; +0xa8, 0x1800a10b8\nmov     [rsp+58h+var_38], r9d                                          ; +0xab, 0x1800a10bb\nmov     r9, r10                                                        ; +0xb0, 0x1800a10c0\ncall    sub_18009FC50                                                  ; +0xb3, 0x1800a10c3\ntest    eax, eax                                                       ; +0xb8, 0x1800a10c8\nsetz    bl                                                             ; +0xba, 0x1800a10ca\nmov     [rdi+90h], rbx                                                 ; +0xbd, 0x1800a10cd\nmov     rbx, [rsp+58h+arg_0]                                           ; +0xc4, 0x1800a10d4\ntest    rsi, rsi                                                       ; +0xc9, 0x1800a10d9\njz      short loc_1800A110F                                            ; +0xcc, 0x1800a10dc\nmovups  xmm0, xmmword ptr [rbp+0]                                      ; +0xce, 0x1800a10de\nmovups  xmmword ptr [rsi], xmm0                                        ; +0xd2, 0x1800a10e2\nmovups  xmm1, xmmword ptr [rbp+10h]                                    ; +0xd5, 0x1800a10e5\nmovups  xmmword ptr [rsi+10h], xmm1                                    ; +0xd9, 0x1800a10e9\nmovups  xmm0, xmmword ptr [rbp+20h]                                    ; +0xdd, 0x1800a10ed\nmovups  xmmword ptr [rsi+20h], xmm0                                    ; +0xe1, 0x1800a10f1\nmovups  xmm1, xmmword ptr [rbp+30h]                                    ; +0xe5, 0x1800a10f5\nmovups  xmmword ptr [rsi+30h], xmm1                                    ; +0xe9, 0x1800a10f9\nmovups  xmm0, xmmword ptr [rbp+40h]                                    ; +0xed, 0x1800a10fd\nmovups  xmmword ptr [rsi+40h], xmm0                                    ; +0xf1, 0x1800a1101\nmovsd   xmm1, qword ptr [rbp+50h]                                      ; +0xf5, 0x1800a1105\nmovsd   qword ptr [rsi+50h], xmm1                                      ; +0xfa, 0x1800a110a\nmov     rbp, [rsp+58h+arg_8]                                           ; +0xff, 0x1800a110f\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x104, 0x1800a1114\nadd     rsp, 50h                                                       ; +0x109, 0x1800a1119\npop     rdi                                                            ; +0x10d, 0x1800a111d\nretn                                                                   ; +0x10e, 0x1800a111e\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x10f, 0x1800a111f\nmov     eax, 0FFFFFF9Ch                                                ; +0x114, 0x1800a1124\nadd     rsp, 50h                                                       ; +0x119, 0x1800a1129\npop     rdi                                                            ; +0x11d, 0x1800a112d\nretn                                                                   ; +0x11e, 0x1800a112e", "xrefs": ["cocos2d::unzGoToNextFile @ 0x1800a1138", "cocos2d::unzLocateFile @ 0x1800a1325", "<???> @ 0x18013f2c8", "<???> @ 0x18013f2dc", "<???> @ 0x18013f2ec", "<???> @ 0x1801438a8", "<???> @ 0x1801b7848"], "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"}