//
// sub_62B594 from 0x62b594 to 0x62b5e4 (80 bytes)
//
// 2 xrefs:
// > sub_6A89C0 @ 0x6a8b7c
// > GManager::saveGMTo @ 0x6a9104
//
// 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 12:50:10 +0000
//
void __fastcall sub_62B594(__int64 a1)
{
std::__thread_struct *v2; // x20
if ( (*(_BYTE *)(a1 + 24) & 1) != 0 )
operator delete(*(void **)(a1 + 40));
v2 = *(std::__thread_struct **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
{
std::__thread_struct::~__thread_struct(v2);
operator delete(v2);
}
}