//
// sub_100183160 from 0x100183160 to 0x1001831fc (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c3d98
//
// 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_100183160(__int64 a1)
{
void *v1; // rbx
v1 = (void *)(a1 - 16);
*(_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(v1, off_1008C3DD0);
std::ios::~ios(a1 + 112);
operator delete(v1);
}