//
// sub_1000D86D4 from 0x1000d86d4 to 0x1000d8774 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ceee8
//
// This function is hookable on this platform (idp: arm, 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 10:58:57 +0000
//
void __fastcall sub_1000D86D4(__int64 a1)
{
void *v2; // x19
__int64 v3; // x20
*(_QWORD *)(a1 - 16) = off_1008CEEB8;
v2 = (void *)(a1 - 16);
*(_QWORD *)(a1 + 112) = off_1008CEF08;
v3 = a1 + 112;
*(_QWORD *)a1 = off_1008CEEE0;
*(_QWORD *)(a1 + 8) = off_1008CF0A8;
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::iostream::~iostream(v2, off_1008CEF20);
std::ios::~ios(v3);
operator delete(v2);
}