//
// sub_100164068 from 0x100164068 to 0x1001640c4 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x10079bcc8
//
// 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_100164068(_QWORD *a1)
{
_QWORD *v1; // x19
v1 = (_QWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL));
*v1 = off_10079BCA0;
v1[53] = off_10079BCC8;
sub_100163434((__int64)(v1 + 2));
std::istream::~istream(v1, off_10079BCE0);
return std::ios::~ios(v1 + 53);
}