{"type": "func", "start": 6443254400, "end": 6443254740, "name": "sub_1800C4280", "pseudocode": "// \n// sub_1800C4280 from 0x1800c4280 to 0x1800c43d4 (340 bytes)\n// \n// 3 xrefs:\n// > sub_1800C3A70 @ 0x1800c3ae7\n// > sub_1800C4620 @ 0x1800c467d\n// > <???> @ 0x1801fde24\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:54:04 +0000\n// \n\n__int64 __fastcall sub_1800C4280(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int128 v3; // xmm0\n  __int64 v4; // rdi\n  __int64 v6; // rsi\n  int v7; // eax\n  int v8; // eax\n  int *v9; // rdi\n  __int64 i; // rbx\n  int v11; // eax\n  wchar_t String[8]; // [rsp+20h] [rbp-28h] BYREF\n  __int16 v14; // [rsp+30h] [rbp-18h]\n\n  v3 = *(_OWORD *)(a2 + 36);\n  v4 = a2 + 36;\n  v14 = 0;\n  *(_OWORD *)String = v3;\n  *(_DWORD *)a3 = wcstoul(String, nullptr, 16);\n  *(_QWORD *)String = *(_QWORD *)(v4 + 18);\n  *(_QWORD *)&String[4] = 0;\n  v14 = 0;\n  *(_WORD *)(a3 + 4) = wcstoul(String, nullptr, 16);\n  *(_QWORD *)String = *(_QWORD *)(v4 + 28);\n  *(_QWORD *)&String[4] = 0;\n  v14 = 0;\n  *(_WORD *)(a3 + 6) = wcstoul(String, nullptr, 16);\n  v6 = a3 + 8;\n  v14 = 0;\n  v7 = *(_DWORD *)(v4 + 38);\n  *(_OWORD *)String = 0;\n  *(_DWORD *)String = v7;\n  *(_BYTE *)(a3 + 8) = wcstoul(String, nullptr, 16);\n  v14 = 0;\n  v8 = *(_DWORD *)(v4 + 42);\n  *(_OWORD *)String = 0;\n  *(_DWORD *)String = v8;\n  *(_BYTE *)(a3 + 9) = wcstoul(String, nullptr, 16);\n  v9 = (int *)(v4 + 48);\n  for ( i = 2; i < 8; ++i )\n  {\n    v14 = 0;\n    v11 = *v9;\n    *(_OWORD *)String = 0;\n    *(_DWORD *)String = v11;\n    *(_BYTE *)(v6 + i) = wcstoul(String, nullptr, 16);\n    ++v9;\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800C4280 from 0x1800c4280 to 0x1800c43d4 (340 bytes)\n; \n; 3 xrefs:\n; > sub_1800C3A70 @ 0x1800c3ae7\n; > sub_1800C4620 @ 0x1800c467d\n; > <???> @ 0x1801fde24\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:54:04 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c4280\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800c4285\npush    rdi                                                            ; +0xa, 0x1800c428a\nsub     rsp, 40h                                                       ; +0xb, 0x1800c428b\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x1800c428f\nxor     rax, rsp                                                       ; +0x16, 0x1800c4296\nmov     [rsp+48h+var_10], rax                                          ; +0x19, 0x1800c4299\nmovups  xmm0, xmmword ptr [rdx+24h]                                    ; +0x1e, 0x1800c429e\nlea     rdi, [rdx+24h]                                                 ; +0x22, 0x1800c42a2\nxor     esi, esi                                                       ; +0x26, 0x1800c42a6\nmov     rbx, r8                                                        ; +0x28, 0x1800c42a8\nmov     [rsp+48h+var_18], si                                           ; +0x2b, 0x1800c42ab\nxor     edx, edx; EndPtr                                               ; +0x30, 0x1800c42b0\nlea     rcx, [rsp+48h+String]; String                                  ; +0x32, 0x1800c42b2\nmovups  xmmword ptr [rsp+48h+String], xmm0                             ; +0x37, 0x1800c42b7\nlea     r8d, [rsi+10h]; Radix                                          ; +0x3c, 0x1800c42bc\ncall    wcstoul                                                        ; +0x40, 0x1800c42c0\nmov     [rbx], eax                                                     ; +0x45, 0x1800c42c5\nlea     r8d, [rsi+10h]; Radix                                          ; +0x47, 0x1800c42c7\nmov     rax, [rdi+12h]                                                 ; +0x4b, 0x1800c42cb\nlea     rcx, [rsp+48h+String]; String                                  ; +0x4f, 0x1800c42cf\nxor     edx, edx; EndPtr                                               ; +0x54, 0x1800c42d4\nmov     qword ptr [rsp+48h+String], rax                                ; +0x56, 0x1800c42d6\nmov     qword ptr [rsp+48h+String+8], rsi                              ; +0x5b, 0x1800c42db\nmov     [rsp+48h+var_18], si                                           ; +0x60, 0x1800c42e0\ncall    wcstoul                                                        ; +0x65, 0x1800c42e5\nmov     [rbx+4], ax                                                    ; +0x6a, 0x1800c42ea\nlea     r8d, [rsi+10h]; Radix                                          ; +0x6e, 0x1800c42ee\nmov     rax, [rdi+1Ch]                                                 ; +0x72, 0x1800c42f2\nlea     rcx, [rsp+48h+String]; String                                  ; +0x76, 0x1800c42f6\nxor     edx, edx; EndPtr                                               ; +0x7b, 0x1800c42fb\nmov     qword ptr [rsp+48h+String], rax                                ; +0x7d, 0x1800c42fd\nmov     qword ptr [rsp+48h+String+8], rsi                              ; +0x82, 0x1800c4302\nmov     [rsp+48h+var_18], si                                           ; +0x87, 0x1800c4307\ncall    wcstoul                                                        ; +0x8c, 0x1800c430c\nmov     [rbx+6], ax                                                    ; +0x91, 0x1800c4311\nlea     rcx, [rsp+48h+String]; String                                  ; +0x95, 0x1800c4315\nxor     eax, eax                                                       ; +0x9a, 0x1800c431a\nlea     rsi, [rbx+8]                                                   ; +0x9c, 0x1800c431c\nxor     edx, edx; EndPtr                                               ; +0xa0, 0x1800c4320\nmov     [rsp+48h+var_18], ax                                           ; +0xa2, 0x1800c4322\nmov     eax, [rdi+26h]                                                 ; +0xa7, 0x1800c4327\nxorps   xmm0, xmm0                                                     ; +0xaa, 0x1800c432a\nmovups  xmmword ptr [rsp+48h+String], xmm0                             ; +0xad, 0x1800c432d\nmov     dword ptr [rsp+48h+String], eax                                ; +0xb2, 0x1800c4332\nlea     r8d, [rdx+10h]; Radix                                          ; +0xb6, 0x1800c4336\ncall    wcstoul                                                        ; +0xba, 0x1800c433a\nmov     [rsi], al                                                      ; +0xbf, 0x1800c433f\nlea     rcx, [rsp+48h+String]; String                                  ; +0xc1, 0x1800c4341\nxor     eax, eax                                                       ; +0xc6, 0x1800c4346\nxor     edx, edx; EndPtr                                               ; +0xc8, 0x1800c4348\nxorps   xmm0, xmm0                                                     ; +0xca, 0x1800c434a\nmov     [rsp+48h+var_18], ax                                           ; +0xcd, 0x1800c434d\nmov     eax, [rdi+2Ah]                                                 ; +0xd2, 0x1800c4352\nmovups  xmmword ptr [rsp+48h+String], xmm0                             ; +0xd5, 0x1800c4355\nlea     r8d, [rdx+10h]; Radix                                          ; +0xda, 0x1800c435a\nmov     dword ptr [rsp+48h+String], eax                                ; +0xde, 0x1800c435e\ncall    wcstoul                                                        ; +0xe2, 0x1800c4362\nmov     [rbx+9], al                                                    ; +0xe7, 0x1800c4367\nadd     rdi, 30h ; '0'                                                 ; +0xea, 0x1800c436a\nmov     ebx, 2                                                         ; +0xee, 0x1800c436e\nnop     dword ptr [rax+00h]                                            ; +0xf3, 0x1800c4373\nnop     word ptr [rax+rax+00000000h]                                   ; +0xf7, 0x1800c4377\nxor     eax, eax                                                       ; +0x100, 0x1800c4380\nlea     rcx, [rsp+48h+String]; String                                  ; +0x102, 0x1800c4382\nxor     edx, edx; EndPtr                                               ; +0x107, 0x1800c4387\nmov     [rsp+48h+var_18], ax                                           ; +0x109, 0x1800c4389\nmov     eax, [rdi]                                                     ; +0x10e, 0x1800c438e\nxorps   xmm0, xmm0                                                     ; +0x110, 0x1800c4390\nmovups  xmmword ptr [rsp+48h+String], xmm0                             ; +0x113, 0x1800c4393\nmov     dword ptr [rsp+48h+String], eax                                ; +0x118, 0x1800c4398\nlea     r8d, [rdx+10h]; Radix                                          ; +0x11c, 0x1800c439c\ncall    wcstoul                                                        ; +0x120, 0x1800c43a0\nmov     [rsi+rbx], al                                                  ; +0x125, 0x1800c43a5\nlea     rdi, [rdi+4]                                                   ; +0x128, 0x1800c43a8\ninc     rbx                                                            ; +0x12c, 0x1800c43ac\ncmp     rbx, 8                                                         ; +0x12f, 0x1800c43af\njl      short loc_1800C4380                                            ; +0x133, 0x1800c43b3\nxor     eax, eax                                                       ; +0x135, 0x1800c43b5\nmov     rcx, [rsp+48h+var_10]                                          ; +0x137, 0x1800c43b7\nxor     rcx, rsp; StackCookie                                          ; +0x13c, 0x1800c43bc\ncall    __security_check_cookie                                        ; +0x13f, 0x1800c43bf\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x144, 0x1800c43c4\nmov     rsi, [rsp+48h+arg_18]                                          ; +0x149, 0x1800c43c9\nadd     rsp, 40h                                                       ; +0x14e, 0x1800c43ce\npop     rdi                                                            ; +0x152, 0x1800c43d2\nretn                                                                   ; +0x153, 0x1800c43d3", "xrefs": ["sub_1800C3A70 @ 0x1800c3ae7", "sub_1800C4620 @ 0x1800c467d", "<???> @ 0x1801fde24"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}