//
// sub_1000B3C64 from 0x1000b3c64 to 0x1000b3cf0 (140 bytes)
//
// 2 xrefs:
// > sub_1000AD484 @ 0x1000ad50c
// > sub_10023E7DC @ 0x10023e854
//
// 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_1000B3C64(__int64 a1, const std::string *a2, int a3)
{
*(_QWORD *)a1 = &`vtable for'std::streambuf.~basic_streambuf;
std::locale::locale((std::locale *)(a1 + 8));
*(_OWORD *)(a1 + 32) = 0u;
*(_OWORD *)(a1 + 48) = 0u;
*(_OWORD *)(a1 + 16) = 0u;
*(_QWORD *)a1 = off_1007814C8;
*(_OWORD *)(a1 + 64) = 0u;
*(_OWORD *)(a1 + 80) = 0u;
*(_DWORD *)(a1 + 96) = a3;
std::string::operator=((std::string *)(a1 + 64), a2);
sub_1000B3D1C(a1);
return a1;
}