{"type": "func", "start": 6443205520, "end": 6443205557, "name": "sub_1800B8390", "pseudocode": "// \n// sub_1800B8390 from 0x1800b8390 to 0x1800b83b5 (37 bytes)\n// \n// 1 xrefs:\n// > sub_1800FE610 @ 0x18010048c\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 10:53:59 +0000\n// \n\n__int64 __fastcall sub_1800B8390(__int64 a1, __int16 *a2, int a3)\n{\n  __int64 v3; // r9\n  __int16 v5; // ax\n\n  v3 = a1 - (_QWORD)a2;\n  do\n  {\n    if ( !a3-- )\n      break;\n    v5 = *a2;\n    *(__int16 *)((char *)a2 + v3) = *a2;\n    ++a2;\n  }\n  while ( v5 );\n  return a1;\n}", "assembly": "; \n; sub_1800B8390 from 0x1800b8390 to 0x1800b83b5 (37 bytes)\n; \n; 1 xrefs:\n; > sub_1800FE610 @ 0x18010048c\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 10:53:59 +0000\n; \nmov     r9, rcx                                                        ; +0x0, 0x1800b8390\nsub     r9, rdx                                                        ; +0x3, 0x1800b8393\nmov     eax, r8d                                                       ; +0x6, 0x1800b8396\ndec     r8d                                                            ; +0x9, 0x1800b8399\ntest    eax, eax                                                       ; +0xc, 0x1800b839c\njz      short loc_1800B83B1                                            ; +0xe, 0x1800b839e\nmovzx   eax, word ptr [rdx]                                            ; +0x10, 0x1800b83a0\nmov     [r9+rdx], ax                                                   ; +0x13, 0x1800b83a3\nadd     rdx, 2                                                         ; +0x18, 0x1800b83a8\ntest    ax, ax                                                         ; +0x1c, 0x1800b83ac\njnz     short loc_1800B8396                                            ; +0x1f, 0x1800b83af\nmov     rax, rcx                                                       ; +0x21, 0x1800b83b1\nretn                                                                   ; +0x24, 0x1800b83b4", "xrefs": ["sub_1800FE610 @ 0x18010048c"], "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"}