//
// sub_100438FF0 from 0x100438ff0 to 0x100439036 (70 bytes)
//
// 2 xrefs:
// > ??> @ 0x100438c7d
// > ??> @ 0x100438fda
//
// 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
//
void __fastcall sub_100438FF0(std::__thread_struct ***a1)
{
std::__thread_struct **v1; // rbx
std::__thread_struct *v2; // r14
v1 = *a1;
*a1 = nullptr;
if ( v1 )
{
v2 = *v1;
*v1 = nullptr;
if ( v2 )
{
std::__thread_struct::~__thread_struct(v2);
operator delete(v2);
}
operator delete(v1);
}
}