//
// sub_1800B8390 from 0x1800b8390 to 0x1800b83b5 (37 bytes)
//
// 1 xrefs:
// > sub_1800FE610 @ 0x18010048c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1800B8390(__int64 a1, __int16 *a2, int a3)
{
__int64 v3; // r9
__int16 v5; // ax
v3 = a1 - (_QWORD)a2;
do
{
if ( !a3-- )
break;
v5 = *a2;
*(__int16 *)((char *)a2 + v3) = *a2;
++a2;
}
while ( v5 );
return a1;
}