//
// sub_100162550 from 0x100162550 to 0x1001625ec (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b6ff68
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:25:08 +0000
//
void __fastcall sub_100162550(__int64 a1)
{
void *v1; // rbx
v1 = (void *)(a1 - 16);
*(_QWORD *)(a1 - 16) = &off_100B6FF38;
*(_QWORD *)(a1 + 112) = off_100B6FF88;
*(_QWORD *)a1 = off_100B6FF60;
*(_QWORD *)(a1 + 8) = &off_100BB1EA0;
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_100BB1DC8);
std::ios::~ios(a1 + 112);
operator delete(v1);
}