//
// sub_10023E750 from 0x10023e750 to 0x10023e7dc (140 bytes)
//
// 2 xrefs:
// > sub_10023E560 @ 0x10023e588
// > ??> @ 0x1007c9450
//
// 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_10023E750(__int64 a1)
{
__int64 v2; // x20
*(_QWORD *)(a1 + 112) = off_1007C9478;
v2 = a1 + 112;
*(_QWORD *)a1 = off_1007C9450;
*(_QWORD *)(a1 + 8) = off_1007814C8;
if ( *(char *)(a1 + 95) < 0 )
operator delete(*(void **)(a1 + 72));
*(_QWORD *)(a1 + 8) = &`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale((std::locale *)(a1 + 16));
std::ostream::~ostream(a1, off_1007C9490);
std::ios::~ios(v2);
return a1;
}