//
// sub_1002DB79C from 0x1002db79c to 0x1002db828 (140 bytes)
//
// 2 xrefs:
// > sub_1002DB5AC @ 0x1002db5d4
// > ??> @ 0x100921af0
//
// 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 11:02:44 +0000
//
__int64 __fastcall sub_1002DB79C(__int64 a1)
{
__int64 v2; // x20
*(_QWORD *)(a1 + 112) = off_100921B18;
v2 = a1 + 112;
*(_QWORD *)a1 = off_100921AF0;
*(_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::ostream::~ostream(a1, off_100921B30);
std::ios::~ios(v2);
return a1;
}