{"type": "func", "start": 6443110288, "end": 6443110406, "name": "cocos2d::unzGoToFirstFile", "pseudocode": "// \n// cocos2d::unzGoToFirstFile from 0x1800a0f90 to 0x1800a1006 (118 bytes)\n// \n// 4 xrefs:\n// > cocos2d::unzLocateFile @ 0x1800a1224\n// > sub_1800A19A0 @ 0x1800a2174\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b783c\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::unzGoToFirstFile(cocos2d *this, void *a2)\n{\n  __int64 result; // rax\n\n  if ( !this )\n    return 4294967194LL;\n  *((_QWORD *)this + 17) = *((_QWORD *)this + 21);\n  *((_QWORD *)this + 16) = 0;\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::unzGoToFirstFile from 0x1800a0f90 to 0x1800a1006 (118 bytes)\n; \n; 4 xrefs:\n; > cocos2d::unzLocateFile @ 0x1800a1224\n; > sub_1800A19A0 @ 0x1800a2174\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b783c\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, 0x1800a0f90\nsub     rsp, 50h                                                       ; +0x2, 0x1800a0f92\nmov     rdi, rcx                                                       ; +0x6, 0x1800a0f96\ntest    rcx, rcx                                                       ; +0x9, 0x1800a0f99\njnz     short loc_1800A0FA7                                            ; +0xc, 0x1800a0f9c\nlea     eax, [rcx-66h]                                                 ; +0xe, 0x1800a0f9e\nadd     rsp, 50h                                                       ; +0x11, 0x1800a0fa1\npop     rdi                                                            ; +0x15, 0x1800a0fa5\nretn                                                                   ; +0x16, 0x1800a0fa6\nmov     rax, [rcx+0A8h]                                                ; +0x17, 0x1800a0fa7\nlea     r8, [rcx+108h]                                                 ; +0x1e, 0x1800a0fae\nmov     [rsp+58h+arg_0], rbx                                           ; +0x25, 0x1800a0fb5\nlea     rdx, [rcx+0B0h]                                                ; +0x2a, 0x1800a0fba\nxor     ebx, ebx                                                       ; +0x31, 0x1800a0fc1\nmov     [rcx+88h], rax                                                 ; +0x33, 0x1800a0fc3\nmov     [rsp+58h+var_18], ebx                                          ; +0x3a, 0x1800a0fca\nxor     r9d, r9d                                                       ; +0x3e, 0x1800a0fce\nmov     [rsp+58h+var_20], rbx                                          ; +0x41, 0x1800a0fd1\nmov     [rsp+58h+var_28], ebx                                          ; +0x46, 0x1800a0fd6\nmov     [rsp+58h+var_30], rbx                                          ; +0x4a, 0x1800a0fda\nmov     [rsp+58h+var_38], ebx                                          ; +0x4f, 0x1800a0fdf\nmov     [rcx+80h], rbx                                                 ; +0x53, 0x1800a0fe3\ncall    sub_18009FC50                                                  ; +0x5a, 0x1800a0fea\ntest    eax, eax                                                       ; +0x5f, 0x1800a0fef\nsetz    bl                                                             ; +0x61, 0x1800a0ff1\nmov     [rdi+90h], rbx                                                 ; +0x64, 0x1800a0ff4\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x6b, 0x1800a0ffb\nadd     rsp, 50h                                                       ; +0x70, 0x1800a1000\npop     rdi                                                            ; +0x74, 0x1800a1004\nretn                                                                   ; +0x75, 0x1800a1005", "xrefs": ["cocos2d::unzLocateFile @ 0x1800a1224", "sub_1800A19A0 @ 0x1800a2174", "<???> @ 0x1801438a8", "<???> @ 0x1801b783c"], "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"}