//
// sub_1800865C0 from 0x1800865c0 to 0x1800865e1 (33 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801014d0
//
// 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_1800865C0(__int64 a1, __int64 a2, unsigned __int64 a3)
{
if ( *(_QWORD *)(a1 + 8) )
return std::ostream::write();
else
return std::wostream::write(*(_QWORD *)(a1 + 16), a2, a3 >> 1);
}