{"type": "func", "start": 6443000512, "end": 6443000677, "name": "sub_1800862C0", "pseudocode": "// \n// sub_1800862C0 from 0x1800862c0 to 0x180086365 (165 bytes)\n// \n// 3 xrefs:\n// > sub_180081AE0 @ 0x18008206b\n// > sub_180085CA0 @ 0x180085e8c\n// > <???> @ 0x1801b567c\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_1800862C0(__int64 a1, char a2, char a3, char a4, char a5, unsigned __int8 a6)\n{\n  __int64 v8; // rcx\n\n  v8 = *(_QWORD *)(a1 + 10248);\n  if ( (unsigned __int64)(v8 + 5) > 0x800 )\n  {\n    sub_180080D10(a1, a1, v8);\n    v8 = 0;\n    *(_QWORD *)(a1 + 10248) = 0;\n  }\n  *(_BYTE *)(v8 + a1) = a2;\n  *(_BYTE *)(*(_QWORD *)(a1 + 10248) + a1 + 1) = a3;\n  *(_BYTE *)(*(_QWORD *)(a1 + 10248) + a1 + 2) = a4;\n  *(_BYTE *)(*(_QWORD *)(a1 + 10248) + a1 + 3) = a5;\n  *(_BYTE *)(*(_QWORD *)(a1 + 10248) + a1 + 4) = a6;\n  *(_QWORD *)(a1 + 10248) += 5LL;\n  return a6;\n}", "assembly": "; \n; sub_1800862C0 from 0x1800862c0 to 0x180086365 (165 bytes)\n; \n; 3 xrefs:\n; > sub_180081AE0 @ 0x18008206b\n; > sub_180085CA0 @ 0x180085e8c\n; > <???> @ 0x1801b567c\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_0], rbx                                               ; +0x0, 0x1800862c0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800862c5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800862ca\npush    rdi                                                            ; +0xf, 0x1800862cf\nsub     rsp, 20h                                                       ; +0x10, 0x1800862d0\nmov     rbx, rcx                                                       ; +0x14, 0x1800862d4\nmovzx   edi, r9b                                                       ; +0x17, 0x1800862d7\nmov     rcx, [rcx+2808h]                                               ; +0x1b, 0x1800862db\nmovzx   esi, r8b                                                       ; +0x22, 0x1800862e2\nmovzx   ebp, dl                                                        ; +0x26, 0x1800862e6\nlea     rax, [rcx+5]                                                   ; +0x29, 0x1800862e9\ncmp     rax, 800h                                                      ; +0x2d, 0x1800862ed\njbe     short loc_18008630C                                            ; +0x33, 0x1800862f3\nmov     r8, rcx                                                        ; +0x35, 0x1800862f5\nmov     rdx, rbx                                                       ; +0x38, 0x1800862f8\nmov     rcx, rbx                                                       ; +0x3b, 0x1800862fb\ncall    sub_180080D10                                                  ; +0x3e, 0x1800862fe\nxor     ecx, ecx                                                       ; +0x43, 0x180086303\nmov     [rbx+2808h], rcx                                               ; +0x45, 0x180086305\nmov     [rcx+rbx], bpl                                                 ; +0x4c, 0x18008630c\nmov     rax, [rbx+2808h]                                               ; +0x50, 0x180086310\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x57, 0x180086317\nmov     [rax+rbx+1], sil                                               ; +0x5c, 0x18008631c\nmov     rax, [rbx+2808h]                                               ; +0x61, 0x180086321\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x68, 0x180086328\nmov     [rax+rbx+2], dil                                               ; +0x6d, 0x18008632d\nmov     rcx, [rbx+2808h]                                               ; +0x72, 0x180086332\nmovzx   eax, [rsp+28h+arg_20]                                          ; +0x79, 0x180086339\nmov     [rcx+rbx+3], al                                                ; +0x7e, 0x18008633e\nmov     rcx, [rbx+2808h]                                               ; +0x82, 0x180086342\nmovzx   eax, [rsp+28h+arg_28]                                          ; +0x89, 0x180086349\nmov     [rcx+rbx+4], al                                                ; +0x8e, 0x18008634e\nadd     qword ptr [rbx+2808h], 5                                       ; +0x92, 0x180086352\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9a, 0x18008635a\nadd     rsp, 20h                                                       ; +0x9f, 0x18008635f\npop     rdi                                                            ; +0xa3, 0x180086363\nretn                                                                   ; +0xa4, 0x180086364", "xrefs": ["sub_180081AE0 @ 0x18008206b", "sub_180085CA0 @ 0x180085e8c", "<???> @ 0x1801b567c"], "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"}