{"type": "func", "start": 6443248160, "end": 6443248418, "name": "sub_1800C2A20", "pseudocode": "// \n// sub_1800C2A20 from 0x1800c2a20 to 0x1800c2b22 (258 bytes)\n// \n// 2 xrefs:\n// > sub_1800C2180 @ 0x1800c21da\n// > <???> @ 0x1801fdcc8\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 sub_1800C2A20(__int64 a1, __int64 a2, _BYTE *a3, int a4, __m128i *a5, int *a6, int a7, _DWORD *a8)\n{\n  __int64 v8; // rbx\n  __int64 v11; // rcx\n  __int64 v13; // rcx\n  __int64 v14; // rcx\n  int v15; // ecx\n  int v16; // [rsp+20h] [rbp-68h] BYREF\n  int v17; // [rsp+24h] [rbp-64h] BYREF\n  double v18; // [rsp+28h] [rbp-60h] BYREF\n  _OWORD v19[2]; // [rsp+30h] [rbp-58h] BYREF\n\n  v8 = a1 + 1096;\n  if ( !a1 )\n    v8 = 1104;\n  v11 = *(_QWORD *)v8;\n  if ( !*(_QWORD *)v8 )\n    return 67;\n  memset(v19, 0, sizeof(v19));\n  (*(void (__fastcall **)(__int64, _OWORD *))(*(_QWORD *)v11 + 32LL))(v11, v19);\n  v13 = *(_QWORD *)v8;\n  v18 = 0.0;\n  (*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v13 + 104LL))(v13, &v18);\n  v14 = *(_QWORD *)v8;\n  v16 = 0;\n  v17 = 0;\n  (*(void (__fastcall **)(__int64, int *, int *))(*(_QWORD *)v14 + 72LL))(v14, &v16, &v17);\n  sub_1800B7D20(a3, (char *)v19, a4);\n  v15 = (int)v18;\n  *a5 = _mm_load_si128((const __m128i *)&xmmword_1801651D0);\n  *a6 = v15;\n  *a8 = v16;\n  return 0;\n}", "assembly": "; \n; sub_1800C2A20 from 0x1800c2a20 to 0x1800c2b22 (258 bytes)\n; \n; 2 xrefs:\n; > sub_1800C2180 @ 0x1800c21da\n; > <???> @ 0x1801fdcc8\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_8], rbx                                               ; +0x0, 0x1800c2a20\npush    rbp                                                            ; +0x5, 0x1800c2a25\npush    rsi                                                            ; +0x6, 0x1800c2a26\npush    rdi                                                            ; +0x7, 0x1800c2a27\npush    r14                                                            ; +0x8, 0x1800c2a28\npush    r15                                                            ; +0xa, 0x1800c2a2a\nsub     rsp, 60h                                                       ; +0xc, 0x1800c2a2c\nmov     rax, cs:__security_cookie                                      ; +0x10, 0x1800c2a30\nxor     rax, rsp                                                       ; +0x17, 0x1800c2a37\nmov     [rsp+88h+var_38], rax                                          ; +0x1a, 0x1800c2a3a\nmov     rbp, [rsp+88h+arg_20]                                          ; +0x1f, 0x1800c2a3f\nlea     rbx, [rcx+448h]                                                ; +0x27, 0x1800c2a47\nmov     r14, [rsp+88h+arg_28]                                          ; +0x2e, 0x1800c2a4e\ntest    rcx, rcx                                                       ; +0x36, 0x1800c2a56\nmov     r15, [rsp+88h+arg_38]                                          ; +0x39, 0x1800c2a59\nmov     eax, 450h                                                      ; +0x41, 0x1800c2a61\ncmovz   rbx, rax                                                       ; +0x46, 0x1800c2a66\nmov     esi, r9d                                                       ; +0x4a, 0x1800c2a6a\nmov     rdi, r8                                                        ; +0x4d, 0x1800c2a6d\nmov     rcx, [rbx]                                                     ; +0x50, 0x1800c2a70\ntest    rcx, rcx                                                       ; +0x53, 0x1800c2a73\njnz     short loc_1800C2A80                                            ; +0x56, 0x1800c2a76\nlea     eax, [rcx+43h]                                                 ; +0x58, 0x1800c2a78\njmp     loc_1800C2B01                                                  ; +0x5b, 0x1800c2a7b\nxorps   xmm0, xmm0                                                     ; +0x60, 0x1800c2a80\nlea     rdx, [rsp+88h+var_58]                                          ; +0x63, 0x1800c2a83\nmovups  [rsp+88h+var_58], xmm0                                         ; +0x68, 0x1800c2a88\nmovups  [rsp+88h+var_48], xmm0                                         ; +0x6d, 0x1800c2a8d\nmov     rax, [rcx]                                                     ; +0x72, 0x1800c2a92\ncall    qword ptr [rax+20h]                                            ; +0x75, 0x1800c2a95\nmov     rcx, [rbx]                                                     ; +0x78, 0x1800c2a98\nlea     rdx, [rsp+88h+var_60]                                          ; +0x7b, 0x1800c2a9b\nxorps   xmm0, xmm0                                                     ; +0x80, 0x1800c2aa0\nmovsd   [rsp+88h+var_60], xmm0                                         ; +0x83, 0x1800c2aa3\nmov     rax, [rcx]                                                     ; +0x89, 0x1800c2aa9\ncall    qword ptr [rax+68h]                                            ; +0x8c, 0x1800c2aac\nmov     rcx, [rbx]                                                     ; +0x8f, 0x1800c2aaf\nlea     r8, [rsp+88h+var_64]                                           ; +0x92, 0x1800c2ab2\nmov     [rsp+88h+var_68], 0                                            ; +0x97, 0x1800c2ab7\nlea     rdx, [rsp+88h+var_68]                                          ; +0x9f, 0x1800c2abf\nmov     [rsp+88h+var_64], 0                                            ; +0xa4, 0x1800c2ac4\nmov     r9, [rcx]                                                      ; +0xac, 0x1800c2acc\ncall    qword ptr [r9+48h]                                             ; +0xaf, 0x1800c2acf\nmov     r8d, esi                                                       ; +0xb3, 0x1800c2ad3\nlea     rdx, [rsp+88h+var_58]                                          ; +0xb6, 0x1800c2ad6\nmov     rcx, rdi                                                       ; +0xbb, 0x1800c2adb\ncall    sub_1800B7D20                                                  ; +0xbe, 0x1800c2ade\ncvttsd2si ecx, [rsp+88h+var_60]                                        ; +0xc3, 0x1800c2ae3\nxor     eax, eax                                                       ; +0xc9, 0x1800c2ae9\nmovdqa  xmm0, cs:xmmword_1801651D0                                     ; +0xcb, 0x1800c2aeb\nmovups  xmmword ptr [rbp+0], xmm0                                      ; +0xd3, 0x1800c2af3\nmov     [r14], ecx                                                     ; +0xd7, 0x1800c2af7\nmov     ecx, [rsp+88h+var_68]                                          ; +0xda, 0x1800c2afa\nmov     [r15], ecx                                                     ; +0xde, 0x1800c2afe\nmov     rcx, [rsp+88h+var_38]                                          ; +0xe1, 0x1800c2b01\nxor     rcx, rsp; StackCookie                                          ; +0xe6, 0x1800c2b06\ncall    __security_check_cookie                                        ; +0xe9, 0x1800c2b09\nmov     rbx, [rsp+88h+arg_8]                                           ; +0xee, 0x1800c2b0e\nadd     rsp, 60h                                                       ; +0xf6, 0x1800c2b16\npop     r15                                                            ; +0xfa, 0x1800c2b1a\npop     r14                                                            ; +0xfc, 0x1800c2b1c\npop     rdi                                                            ; +0xfe, 0x1800c2b1e\npop     rsi                                                            ; +0xff, 0x1800c2b1f\npop     rbp                                                            ; +0x100, 0x1800c2b20\nretn                                                                   ; +0x101, 0x1800c2b21", "xrefs": ["sub_1800C2180 @ 0x1800c21da", "<???> @ 0x1801fdcc8"], "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"}