//
// sub_3D408A from 0x3d408a to 0x3d40ac (34 bytes)
//
// 4 xrefs:
// > sub_3D427C @ 0x3d42e0
// > sub_3D427C @ 0x3d4306
// > GManager::saveGMTo @ 0x3d43ce
// > GManager::saveGMTo @ 0x3d4400
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:42 +0000
//
std::__thread_struct **__fastcall sub_3D408A(std::__thread_struct **a1)
{
std::__thread_struct *v2; // r5
std::string::~string((int)(a1 + 3));
v2 = *a1;
*a1 = nullptr;
if ( v2 )
{
std::__thread_struct::~__thread_struct(v2);
operator delete(v2);
}
return a1;
}