//
// sub_100182F90 from 0x100182f90 to 0x100183024 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c3d90
//
// 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_100182F90(__int64 a1)
{
*(_QWORD *)(a1 - 16) = &off_1008C3D68;
*(_QWORD *)(a1 + 112) = off_1008C3DB8;
*(_QWORD *)a1 = off_1008C3D90;
*(_QWORD *)(a1 + 8) = &off_1008C3F58;
if ( (*(_BYTE *)(a1 + 72) & 1) != 0 )
operator delete(*(void **)(a1 + 88));
*(_QWORD *)(a1 + 8) = &`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale((std::locale *)(a1 + 16));
std::iostream::~iostream(a1 - 16, off_1008C3DD0);
return std::ios::~ios(a1 + 112);
}