{"type": "func", "start": 6443255328, "end": 6443255484, "name": "sub_1800C4620", "pseudocode": "// \n// sub_1800C4620 from 0x1800c4620 to 0x1800c46bc (156 bytes)\n// \n// 2 xrefs:\n// > sub_1800C3960 @ 0x1800c39ac\n// > <???> @ 0x1801fde54\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_1800C4620(__int64 a1, int a2, _BYTE *a3, int a4, __int64 a5, _DWORD *a6, int a7, _DWORD *a8)\n{\n  __int64 v8; // rdi\n  __int64 v9; // rbx\n  __int64 result; // rax\n  __int64 v11; // r8\n\n  v8 = a2;\n  v9 = a1 - 8;\n  if ( !a1 )\n    v9 = 0;\n  if ( a3 && a4 >= 1 )\n    sub_1800B7D20(a3, *(char **)(v9 + 24LL * a2 + 1904), a4);\n  if ( !a5 || (result = sub_1800C4280(v9, *(_QWORD *)(v9 + 24 * v8 + 1896), a5), !(_DWORD)result) )\n  {\n    v11 = v9 + 24 * v8;\n    *a8 = *(_DWORD *)(v11 + 1912);\n    *a6 = *(_DWORD *)(v11 + 1916);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800C4620 from 0x1800c4620 to 0x1800c46bc (156 bytes)\n; \n; 2 xrefs:\n; > sub_1800C3960 @ 0x1800c39ac\n; > <???> @ 0x1801fde54\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, 0x1800c4620\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800c4625\npush    rdi                                                            ; +0xa, 0x1800c462a\nsub     rsp, 20h                                                       ; +0xb, 0x1800c462b\nxor     esi, esi                                                       ; +0xf, 0x1800c462f\nmovsxd  rdi, edx                                                       ; +0x11, 0x1800c4631\ntest    rcx, rcx                                                       ; +0x14, 0x1800c4634\nlea     rbx, [rcx-8]                                                   ; +0x17, 0x1800c4637\nmov     r10, r8                                                        ; +0x1b, 0x1800c463b\ncmovz   rbx, rsi                                                       ; +0x1e, 0x1800c463e\ntest    r8, r8                                                         ; +0x22, 0x1800c4642\njz      short loc_1800C4664                                            ; +0x25, 0x1800c4645\ncmp     r9d, 1                                                         ; +0x27, 0x1800c4647\njl      short loc_1800C4664                                            ; +0x2b, 0x1800c464b\nlea     rdx, [rdi+rdi*2]                                               ; +0x2d, 0x1800c464d\nmov     r8d, r9d                                                       ; +0x31, 0x1800c4651\nmov     rdx, [rbx+rdx*8+770h]                                          ; +0x34, 0x1800c4654\nmov     rcx, r10                                                       ; +0x3c, 0x1800c465c\ncall    sub_1800B7D20                                                  ; +0x3f, 0x1800c465f\nmov     r8, [rsp+28h+arg_20]                                           ; +0x44, 0x1800c4664\ntest    r8, r8                                                         ; +0x49, 0x1800c4669\njz      short loc_1800C4686                                            ; +0x4c, 0x1800c466c\nlea     rdx, [rdi+rdi*2]                                               ; +0x4e, 0x1800c466e\nmov     rcx, rbx                                                       ; +0x52, 0x1800c4672\nmov     rdx, [rbx+rdx*8+768h]                                          ; +0x55, 0x1800c4675\ncall    sub_1800C4280                                                  ; +0x5d, 0x1800c467d\ntest    eax, eax                                                       ; +0x62, 0x1800c4682\njnz     short loc_1800C46AC                                            ; +0x64, 0x1800c4684\nlea     rcx, [rdi+rdi*2]                                               ; +0x66, 0x1800c4686\nmov     eax, esi                                                       ; +0x6a, 0x1800c468a\nlea     r8, [rbx+rcx*8]                                                ; +0x6c, 0x1800c468c\nmov     rcx, [rsp+28h+arg_38]                                          ; +0x70, 0x1800c4690\nmov     edx, [r8+778h]                                                 ; +0x75, 0x1800c4695\nmov     [rcx], edx                                                     ; +0x7c, 0x1800c469c\nmov     rcx, [rsp+28h+arg_28]                                          ; +0x7e, 0x1800c469e\nmov     edx, [r8+77Ch]                                                 ; +0x83, 0x1800c46a3\nmov     [rcx], edx                                                     ; +0x8a, 0x1800c46aa\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8c, 0x1800c46ac\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x91, 0x1800c46b1\nadd     rsp, 20h                                                       ; +0x96, 0x1800c46b6\npop     rdi                                                            ; +0x9a, 0x1800c46ba\nretn                                                                   ; +0x9b, 0x1800c46bb", "xrefs": ["sub_1800C3960 @ 0x1800c39ac", "<???> @ 0x1801fde54"], "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"}