{"type": "func", "start": 6443013136, "end": 6443013301, "name": "sub_180089410", "pseudocode": "// \n// sub_180089410 from 0x180089410 to 0x1800894b5 (165 bytes)\n// \n// 3 xrefs:\n// > sub_180084AF0 @ 0x180085026\n// > sub_180088DE0 @ 0x180088fd7\n// > <???> @ 0x1801bf940\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_180089410(__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_180083D00(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_180089410 from 0x180089410 to 0x1800894b5 (165 bytes)\n; \n; 3 xrefs:\n; > sub_180084AF0 @ 0x180085026\n; > sub_180088DE0 @ 0x180088fd7\n; > <???> @ 0x1801bf940\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, 0x180089410\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180089415\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18008941a\npush    rdi                                                            ; +0xf, 0x18008941f\nsub     rsp, 20h                                                       ; +0x10, 0x180089420\nmov     rbx, rcx                                                       ; +0x14, 0x180089424\nmovzx   edi, r9b                                                       ; +0x17, 0x180089427\nmov     rcx, [rcx+2808h]                                               ; +0x1b, 0x18008942b\nmovzx   esi, r8b                                                       ; +0x22, 0x180089432\nmovzx   ebp, dl                                                        ; +0x26, 0x180089436\nlea     rax, [rcx+5]                                                   ; +0x29, 0x180089439\ncmp     rax, 800h                                                      ; +0x2d, 0x18008943d\njbe     short loc_18008945C                                            ; +0x33, 0x180089443\nmov     r8, rcx                                                        ; +0x35, 0x180089445\nmov     rdx, rbx                                                       ; +0x38, 0x180089448\nmov     rcx, rbx                                                       ; +0x3b, 0x18008944b\ncall    sub_180083D00                                                  ; +0x3e, 0x18008944e\nxor     ecx, ecx                                                       ; +0x43, 0x180089453\nmov     [rbx+2808h], rcx                                               ; +0x45, 0x180089455\nmov     [rcx+rbx], bpl                                                 ; +0x4c, 0x18008945c\nmov     rax, [rbx+2808h]                                               ; +0x50, 0x180089460\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x57, 0x180089467\nmov     [rax+rbx+1], sil                                               ; +0x5c, 0x18008946c\nmov     rax, [rbx+2808h]                                               ; +0x61, 0x180089471\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x68, 0x180089478\nmov     [rax+rbx+2], dil                                               ; +0x6d, 0x18008947d\nmov     rcx, [rbx+2808h]                                               ; +0x72, 0x180089482\nmovzx   eax, [rsp+28h+arg_20]                                          ; +0x79, 0x180089489\nmov     [rcx+rbx+3], al                                                ; +0x7e, 0x18008948e\nmov     rcx, [rbx+2808h]                                               ; +0x82, 0x180089492\nmovzx   eax, [rsp+28h+arg_28]                                          ; +0x89, 0x180089499\nmov     [rcx+rbx+4], al                                                ; +0x8e, 0x18008949e\nadd     qword ptr [rbx+2808h], 5                                       ; +0x92, 0x1800894a2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9a, 0x1800894aa\nadd     rsp, 20h                                                       ; +0x9f, 0x1800894af\npop     rdi                                                            ; +0xa3, 0x1800894b3\nretn                                                                   ; +0xa4, 0x1800894b4", "xrefs": ["sub_180084AF0 @ 0x180085026", "sub_180088DE0 @ 0x180088fd7", "<???> @ 0x1801bf940"], "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"}