//
// sub_100162240 from 0x100162240 to 0x1001622a3 (99 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ac7588
//
// 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
//
__int64 __fastcall sub_100162240(_QWORD *a1)
{
_QWORD *v1; // rbx
v1 = (_QWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL));
*v1 = &off_100AC7560;
v1[53] = off_100AC7588;
sub_100161420((__int64)(v1 + 2));
std::istream::~istream(v1, off_100AC75A0);
return std::ios::~ios(v1 + 53);
}