{"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!\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_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!\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     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_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"}