{"type": "func", "start": 6443000352, "end": 6443000501, "name": "sub_180086220", "pseudocode": "// \n// sub_180086220 from 0x180086220 to 0x1800862b5 (149 bytes)\n// \n// 6 xrefs:\n// > sub_180081AE0 @ 0x180081ea9\n// > sub_180081AE0 @ 0x180081f2b\n// > sub_180081AE0 @ 0x180082080\n// > sub_180085CA0 @ 0x180085ea6\n// > sub_180085CA0 @ 0x180085ec0\n// > <???> @ 0x1801b5670\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_180086220(__int64 a1, char a2, char a3, char a4, unsigned __int8 a5)\n{\n  __int64 v7; // rcx\n\n  v7 = *(_QWORD *)(a1 + 10248);\n  if ( (unsigned __int64)(v7 + 4) > 0x800 )\n  {\n    sub_180080D10(a1, a1, v7);\n    v7 = 0;\n    *(_QWORD *)(a1 + 10248) = 0;\n  }\n  *(_BYTE *)(v7 + 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  *(_QWORD *)(a1 + 10248) += 4LL;\n  return a5;\n}", "assembly": "; \n; sub_180086220 from 0x180086220 to 0x1800862b5 (149 bytes)\n; \n; 6 xrefs:\n; > sub_180081AE0 @ 0x180081ea9\n; > sub_180081AE0 @ 0x180081f2b\n; > sub_180081AE0 @ 0x180082080\n; > sub_180085CA0 @ 0x180085ea6\n; > sub_180085CA0 @ 0x180085ec0\n; > <???> @ 0x1801b5670\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, 0x180086220\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180086225\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18008622a\npush    rdi                                                            ; +0xf, 0x18008622f\nsub     rsp, 20h                                                       ; +0x10, 0x180086230\nmov     rbx, rcx                                                       ; +0x14, 0x180086234\nmovzx   edi, r9b                                                       ; +0x17, 0x180086237\nmov     rcx, [rcx+2808h]                                               ; +0x1b, 0x18008623b\nmovzx   esi, r8b                                                       ; +0x22, 0x180086242\nmovzx   ebp, dl                                                        ; +0x26, 0x180086246\nlea     rax, [rcx+4]                                                   ; +0x29, 0x180086249\ncmp     rax, 800h                                                      ; +0x2d, 0x18008624d\njbe     short loc_18008626C                                            ; +0x33, 0x180086253\nmov     r8, rcx                                                        ; +0x35, 0x180086255\nmov     rdx, rbx                                                       ; +0x38, 0x180086258\nmov     rcx, rbx                                                       ; +0x3b, 0x18008625b\ncall    sub_180080D10                                                  ; +0x3e, 0x18008625e\nxor     ecx, ecx                                                       ; +0x43, 0x180086263\nmov     [rbx+2808h], rcx                                               ; +0x45, 0x180086265\nmov     [rcx+rbx], bpl                                                 ; +0x4c, 0x18008626c\nmov     rax, [rbx+2808h]                                               ; +0x50, 0x180086270\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x57, 0x180086277\nmov     [rax+rbx+1], sil                                               ; +0x5c, 0x18008627c\nmov     rax, [rbx+2808h]                                               ; +0x61, 0x180086281\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x68, 0x180086288\nmov     [rax+rbx+2], dil                                               ; +0x6d, 0x18008628d\nmov     rcx, [rbx+2808h]                                               ; +0x72, 0x180086292\nmovzx   eax, [rsp+28h+arg_20]                                          ; +0x79, 0x180086299\nmov     [rcx+rbx+3], al                                                ; +0x7e, 0x18008629e\nadd     qword ptr [rbx+2808h], 4                                       ; +0x82, 0x1800862a2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8a, 0x1800862aa\nadd     rsp, 20h                                                       ; +0x8f, 0x1800862af\npop     rdi                                                            ; +0x93, 0x1800862b3\nretn                                                                   ; +0x94, 0x1800862b4", "xrefs": ["sub_180081AE0 @ 0x180081ea9", "sub_180081AE0 @ 0x180081f2b", "sub_180081AE0 @ 0x180082080", "sub_180085CA0 @ 0x180085ea6", "sub_180085CA0 @ 0x180085ec0", "<???> @ 0x1801b5670"], "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"}