//
// sub_10063A5B0 from 0x10063a5b0 to 0x10063a5f2 (66 bytes)
//
// 1 xrefs:
// > ??> @ 0x100985e18
//
// 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_10063A5B0(__int64 a1, __int64 a2, unsigned __int64 a3)
{
__int64 v3; // rax
__int64 v4; // rdi
v3 = *(_QWORD *)(a1 + 8);
v4 = *(_QWORD *)(a1 + 16);
if ( v3 )
{
if ( v4 )
sub_1007CC7B0();
return std::ostream::write(v3, a2, a3);
}
else
{
if ( !v4 )
sub_1007CC810();
if ( (a3 & 3) != 0 )
sub_1007CC7E0();
return std::wostream::write(v4, a2, a3 >> 2);
}
}