{"type": "func", "start": 6443012608, "end": 6443012710, "name": "sub_180089200", "pseudocode": "// \n// sub_180089200 from 0x180089200 to 0x180089266 (102 bytes)\n// \n// 8 xrefs:\n// > sub_180084AF0 @ 0x180084be5\n// > sub_180084AF0 @ 0x180084c34\n// > sub_180084AF0 @ 0x180084d0b\n// > sub_180084AF0 @ 0x180084fcd\n// > sub_180084AF0 @ 0x18008505b\n// > sub_180084AF0 @ 0x180085088\n// > sub_180084AF0 @ 0x180085098\n// > <???> @ 0x1801bf910\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 11:22:05 +0000\n// \n\n__int64 __fastcall sub_180089200(__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_180083D00(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_180089200 from 0x180089200 to 0x180089266 (102 bytes)\n; \n; 8 xrefs:\n; > sub_180084AF0 @ 0x180084be5\n; > sub_180084AF0 @ 0x180084c34\n; > sub_180084AF0 @ 0x180084d0b\n; > sub_180084AF0 @ 0x180084fcd\n; > sub_180084AF0 @ 0x18008505b\n; > sub_180084AF0 @ 0x180085088\n; > sub_180084AF0 @ 0x180085098\n; > <???> @ 0x1801bf910\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 11:22:05 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180089200\npush    rdi                                                            ; +0x5, 0x180089205\nsub     rsp, 20h                                                       ; +0x6, 0x180089206\nmov     rbx, rcx                                                       ; +0xa, 0x18008920a\nmovzx   edi, dl                                                        ; +0xd, 0x18008920d\nmov     rcx, [rcx+2808h]                                               ; +0x10, 0x180089210\nlea     rax, [rcx+1]                                                   ; +0x17, 0x180089217\ncmp     rax, 800h                                                      ; +0x1b, 0x18008921b\njbe     short loc_180089250                                            ; +0x21, 0x180089221\nmov     r8, rcx                                                        ; +0x23, 0x180089223\nmov     rdx, rbx                                                       ; +0x26, 0x180089226\nmov     rcx, rbx                                                       ; +0x29, 0x180089229\ncall    sub_180083D00                                                  ; +0x2c, 0x18008922c\nxor     eax, eax                                                       ; +0x31, 0x180089231\nmov     [rbx+2808h], rax                                               ; +0x33, 0x180089233\nmov     [rax+rbx], dil                                                 ; +0x3a, 0x18008923a\ninc     qword ptr [rbx+2808h]                                          ; +0x3e, 0x18008923e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x45, 0x180089245\nadd     rsp, 20h                                                       ; +0x4a, 0x18008924a\npop     rdi                                                            ; +0x4e, 0x18008924e\nretn                                                                   ; +0x4f, 0x18008924f\nmov     [rcx+rbx], dil                                                 ; +0x50, 0x180089250\ninc     qword ptr [rbx+2808h]                                          ; +0x54, 0x180089254\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x18008925b\nadd     rsp, 20h                                                       ; +0x60, 0x180089260\npop     rdi                                                            ; +0x64, 0x180089264\nretn                                                                   ; +0x65, 0x180089265", "xrefs": ["sub_180084AF0 @ 0x180084be5", "sub_180084AF0 @ 0x180084c34", "sub_180084AF0 @ 0x180084d0b", "sub_180084AF0 @ 0x180084fcd", "sub_180084AF0 @ 0x18008505b", "sub_180084AF0 @ 0x180085088", "sub_180084AF0 @ 0x180085098", "<???> @ 0x1801bf910"], "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"}