{"type": "func", "start": 6443255488, "end": 6443255620, "name": "sub_1800C46C0", "pseudocode": "// \n// sub_1800C46C0 from 0x1800c46c0 to 0x1800c4744 (132 bytes)\n// \n// 2 xrefs:\n// > sub_1800C3960 @ 0x1800c3990\n// > <???> @ 0x1801fde60\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_1800C46C0(__int64 a1, _DWORD *a2, _DWORD *a3)\n{\n  __int64 v3; // rbx\n  __int64 v6; // rdi\n  __int64 result; // rax\n  DWORD v8; // [rsp+40h] [rbp+8h] BYREF\n\n  v3 = a1 - 8;\n  if ( !a1 )\n    v3 = 0;\n  v6 = *(_QWORD *)(v3 + 1880);\n  if ( !*(_DWORD *)(v6 + 8) || (v8 = 0, sub_1800C1770(&v8), v8 - *(_DWORD *)(v6 + 8) <= 0x3E8) )\n  {\n    *a3 = 0;\n    goto LABEL_8;\n  }\n  *(_DWORD *)(v6 + 8) = 0;\n  *a3 = 1;\n  result = sub_1800C43E0(v3);\n  if ( !(_DWORD)result )\n  {\nLABEL_8:\n    *a2 = *(_DWORD *)(v3 + 1888);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800C46C0 from 0x1800c46c0 to 0x1800c4744 (132 bytes)\n; \n; 2 xrefs:\n; > sub_1800C3960 @ 0x1800c3990\n; > <???> @ 0x1801fde60\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_8], rbx                                               ; +0x0, 0x1800c46c0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1800c46c5\npush    rsi                                                            ; +0xa, 0x1800c46ca\npush    rdi                                                            ; +0xb, 0x1800c46cb\npush    r14                                                            ; +0xc, 0x1800c46cc\nsub     rsp, 20h                                                       ; +0xe, 0x1800c46ce\nxor     ebp, ebp                                                       ; +0x12, 0x1800c46d2\nlea     rbx, [rcx-8]                                                   ; +0x14, 0x1800c46d4\ntest    rcx, rcx                                                       ; +0x18, 0x1800c46d8\nmov     rsi, r8                                                        ; +0x1b, 0x1800c46db\nmov     r14, rdx                                                       ; +0x1e, 0x1800c46de\ncmovz   rbx, rbp                                                       ; +0x21, 0x1800c46e1\nmov     rdi, [rbx+758h]                                                ; +0x25, 0x1800c46e5\ncmp     [rdi+8], ebp                                                   ; +0x2c, 0x1800c46ec\njz      short loc_1800C4724                                            ; +0x2f, 0x1800c46ef\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x31, 0x1800c46f1\nmov     [rsp+38h+arg_0], ebp                                           ; +0x36, 0x1800c46f6\ncall    sub_1800C1770                                                  ; +0x3a, 0x1800c46fa\nmov     eax, [rsp+38h+arg_0]                                           ; +0x3f, 0x1800c46ff\nsub     eax, [rdi+8]                                                   ; +0x43, 0x1800c4703\ncmp     eax, 3E8h                                                      ; +0x46, 0x1800c4706\njbe     short loc_1800C4724                                            ; +0x4b, 0x1800c470b\nmov     [rdi+8], ebp                                                   ; +0x4d, 0x1800c470d\nmov     rcx, rbx                                                       ; +0x50, 0x1800c4710\nmov     dword ptr [rsi], 1                                             ; +0x53, 0x1800c4713\ncall    sub_1800C43E0                                                  ; +0x59, 0x1800c4719\ntest    eax, eax                                                       ; +0x5e, 0x1800c471e\njz      short loc_1800C4726                                            ; +0x60, 0x1800c4720\njmp     short loc_1800C4731                                            ; +0x62, 0x1800c4722\nmov     [rsi], ebp                                                     ; +0x64, 0x1800c4724\nmov     ecx, [rbx+760h]                                                ; +0x66, 0x1800c4726\nmov     eax, ebp                                                       ; +0x6c, 0x1800c472c\nmov     [r14], ecx                                                     ; +0x6e, 0x1800c472e\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x71, 0x1800c4731\nmov     rbp, [rsp+38h+arg_10]                                          ; +0x76, 0x1800c4736\nadd     rsp, 20h                                                       ; +0x7b, 0x1800c473b\npop     r14                                                            ; +0x7f, 0x1800c473f\npop     rdi                                                            ; +0x81, 0x1800c4741\npop     rsi                                                            ; +0x82, 0x1800c4742\nretn                                                                   ; +0x83, 0x1800c4743", "xrefs": ["sub_1800C3960 @ 0x1800c3990", "<???> @ 0x1801fde60"], "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"}