{"type": "func", "start": 6443012720, "end": 6443012827, "name": "sub_180089270", "pseudocode": "// \n// sub_180089270 from 0x180089270 to 0x1800892db (107 bytes)\n// \n// 9 xrefs:\n// > sub_180084AF0 @ 0x180084c9a\n// > sub_180084AF0 @ 0x180084d80\n// > sub_180084AF0 @ 0x180084d98\n// > sub_180084AF0 @ 0x180084daa\n// > sub_180084AF0 @ 0x180084e34\n// > sub_180084AF0 @ 0x180084e57\n// > sub_180084AF0 @ 0x180084f60\n// > sub_180084AF0 @ 0x180084ffd\n// > <???> @ 0x1801bf91c\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_180089270(__int64 a1, char a2, char a3)\n{\n  __int64 v5; // rcx\n  __int64 result; // rax\n\n  v5 = *(_QWORD *)(a1 + 10248);\n  if ( (unsigned __int64)(v5 + 2) > 0x800 )\n  {\n    sub_180083D00(a1, a1, v5);\n    v5 = 0;\n    *(_QWORD *)(a1 + 10248) = 0;\n  }\n  *(_BYTE *)(v5 + a1) = a2;\n  result = *(_QWORD *)(a1 + 10248);\n  *(_BYTE *)(result + a1 + 1) = a3;\n  *(_QWORD *)(a1 + 10248) += 2LL;\n  return result;\n}", "assembly": "; \n; sub_180089270 from 0x180089270 to 0x1800892db (107 bytes)\n; \n; 9 xrefs:\n; > sub_180084AF0 @ 0x180084c9a\n; > sub_180084AF0 @ 0x180084d80\n; > sub_180084AF0 @ 0x180084d98\n; > sub_180084AF0 @ 0x180084daa\n; > sub_180084AF0 @ 0x180084e34\n; > sub_180084AF0 @ 0x180084e57\n; > sub_180084AF0 @ 0x180084f60\n; > sub_180084AF0 @ 0x180084ffd\n; > <???> @ 0x1801bf91c\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, 0x180089270\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180089275\npush    rdi                                                            ; +0xa, 0x18008927a\nsub     rsp, 20h                                                       ; +0xb, 0x18008927b\nmov     rbx, rcx                                                       ; +0xf, 0x18008927f\nmovzx   edi, r8b                                                       ; +0x12, 0x180089282\nmov     rcx, [rcx+2808h]                                               ; +0x16, 0x180089286\nmovzx   esi, dl                                                        ; +0x1d, 0x18008928d\nlea     rax, [rcx+2]                                                   ; +0x20, 0x180089290\ncmp     rax, 800h                                                      ; +0x24, 0x180089294\njbe     short loc_1800892B3                                            ; +0x2a, 0x18008929a\nmov     r8, rcx                                                        ; +0x2c, 0x18008929c\nmov     rdx, rbx                                                       ; +0x2f, 0x18008929f\nmov     rcx, rbx                                                       ; +0x32, 0x1800892a2\ncall    sub_180083D00                                                  ; +0x35, 0x1800892a5\nxor     ecx, ecx                                                       ; +0x3a, 0x1800892aa\nmov     [rbx+2808h], rcx                                               ; +0x3c, 0x1800892ac\nmov     [rcx+rbx], sil                                                 ; +0x43, 0x1800892b3\nmov     rax, [rbx+2808h]                                               ; +0x47, 0x1800892b7\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4e, 0x1800892be\nmov     [rax+rbx+1], dil                                               ; +0x53, 0x1800892c3\nadd     qword ptr [rbx+2808h], 2                                       ; +0x58, 0x1800892c8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x60, 0x1800892d0\nadd     rsp, 20h                                                       ; +0x65, 0x1800892d5\npop     rdi                                                            ; +0x69, 0x1800892d9\nretn                                                                   ; +0x6a, 0x1800892da", "xrefs": ["sub_180084AF0 @ 0x180084c9a", "sub_180084AF0 @ 0x180084d80", "sub_180084AF0 @ 0x180084d98", "sub_180084AF0 @ 0x180084daa", "sub_180084AF0 @ 0x180084e34", "sub_180084AF0 @ 0x180084e57", "sub_180084AF0 @ 0x180084f60", "sub_180084AF0 @ 0x180084ffd", "<???> @ 0x1801bf91c"], "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"}