//
// sub_100182E50 from 0x100182e50 to 0x100182eb3 (99 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c3cb8
//
// 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_100182E50(_QWORD *a1)
{
_QWORD *v1; // rbx
v1 = (_QWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL));
*v1 = &off_1008C3C90;
v1[53] = off_1008C3CB8;
sub_100182030((__int64)(v1 + 2));
std::istream::~istream(v1, off_1008C3CD0);
return std::ios::~ios(v1 + 53);
}