//
// sub_1000B2AA4 from 0x1000b2aa4 to 0x1000b2b44 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x100781308
//
// 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
//
void __fastcall sub_1000B2AA4(__int64 a1)
{
void *v2; // x19
__int64 v3; // x20
*(_QWORD *)(a1 - 16) = off_1007812D8;
v2 = (void *)(a1 - 16);
*(_QWORD *)(a1 + 112) = off_100781328;
v3 = a1 + 112;
*(_QWORD *)a1 = off_100781300;
*(_QWORD *)(a1 + 8) = off_1007814C8;
if ( *(char *)(a1 + 95) < 0 )
operator delete(*(void **)(a1 + 72));
*(_QWORD *)(a1 + 8) = &`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale((std::locale *)(a1 + 16));
std::iostream::~iostream(v2, off_100781340);
std::ios::~ios(v3);
operator delete(v2);
}