{"type": "func", "start": 6442999984, "end": 6443000086, "name": "sub_1800860B0", "pseudocode": "// \n// sub_1800860B0 from 0x1800860b0 to 0x180086116 (102 bytes)\n// \n// 8 xrefs:\n// > sub_180081AE0 @ 0x180081bd5\n// > sub_180081AE0 @ 0x180081c2a\n// > sub_180081AE0 @ 0x180081d21\n// > sub_180081AE0 @ 0x18008200a\n// > sub_180081AE0 @ 0x1800820a1\n// > sub_180081AE0 @ 0x1800820d9\n// > sub_180081AE0 @ 0x1800820e9\n// > <???> @ 0x1801b564c\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_1800860B0(__int64 a1, char a2)\n{\n  __int64 v4; // rcx\n  __int64 result; // rax\n\n  v4 = *(_QWORD *)(a1 + 10248);\n  result = v4 + 1;\n  if ( (unsigned __int64)(v4 + 1) <= 0x800 )\n  {\n    *(_BYTE *)(v4 + a1) = a2;\n  }\n  else\n  {\n    sub_180080D10(a1, a1, v4);\n    result = 0;\n    *(_QWORD *)(a1 + 10248) = 0;\n    *(_BYTE *)a1 = a2;\n  }\n  ++*(_QWORD *)(a1 + 10248);\n  return result;\n}", "assembly": "; \n; sub_1800860B0 from 0x1800860b0 to 0x180086116 (102 bytes)\n; \n; 8 xrefs:\n; > sub_180081AE0 @ 0x180081bd5\n; > sub_180081AE0 @ 0x180081c2a\n; > sub_180081AE0 @ 0x180081d21\n; > sub_180081AE0 @ 0x18008200a\n; > sub_180081AE0 @ 0x1800820a1\n; > sub_180081AE0 @ 0x1800820d9\n; > sub_180081AE0 @ 0x1800820e9\n; > <???> @ 0x1801b564c\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, 0x1800860b0\npush    rdi                                                            ; +0x5, 0x1800860b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800860b6\nmov     rbx, rcx                                                       ; +0xa, 0x1800860ba\nmovzx   edi, dl                                                        ; +0xd, 0x1800860bd\nmov     rcx, [rcx+2808h]                                               ; +0x10, 0x1800860c0\nlea     rax, [rcx+1]                                                   ; +0x17, 0x1800860c7\ncmp     rax, 800h                                                      ; +0x1b, 0x1800860cb\njbe     short loc_180086100                                            ; +0x21, 0x1800860d1\nmov     r8, rcx                                                        ; +0x23, 0x1800860d3\nmov     rdx, rbx                                                       ; +0x26, 0x1800860d6\nmov     rcx, rbx                                                       ; +0x29, 0x1800860d9\ncall    sub_180080D10                                                  ; +0x2c, 0x1800860dc\nxor     eax, eax                                                       ; +0x31, 0x1800860e1\nmov     [rbx+2808h], rax                                               ; +0x33, 0x1800860e3\nmov     [rax+rbx], dil                                                 ; +0x3a, 0x1800860ea\ninc     qword ptr [rbx+2808h]                                          ; +0x3e, 0x1800860ee\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x45, 0x1800860f5\nadd     rsp, 20h                                                       ; +0x4a, 0x1800860fa\npop     rdi                                                            ; +0x4e, 0x1800860fe\nretn                                                                   ; +0x4f, 0x1800860ff\nmov     [rcx+rbx], dil                                                 ; +0x50, 0x180086100\ninc     qword ptr [rbx+2808h]                                          ; +0x54, 0x180086104\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x18008610b\nadd     rsp, 20h                                                       ; +0x60, 0x180086110\npop     rdi                                                            ; +0x64, 0x180086114\nretn                                                                   ; +0x65, 0x180086115", "xrefs": ["sub_180081AE0 @ 0x180081bd5", "sub_180081AE0 @ 0x180081c2a", "sub_180081AE0 @ 0x180081d21", "sub_180081AE0 @ 0x18008200a", "sub_180081AE0 @ 0x1800820a1", "sub_180081AE0 @ 0x1800820d9", "sub_180081AE0 @ 0x1800820e9", "<???> @ 0x1801b564c"], "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"}