//
// sub_62C3BC from 0x62c3bc to 0x62c43c (128 bytes)
//
// 2 xrefs:
// > sub_7985D0 @ 0x798810
// > LevelEditorLayer::doAutoBackup @ 0x7a8afc
//
// 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_62C3BC(__int64 a1)
{
std::__thread_struct *v2; // x20
if ( (*(_BYTE *)(a1 + 88) & 1) != 0 )
operator delete(*(void **)(a1 + 104));
if ( (*(_BYTE *)(a1 + 64) & 1) != 0 )
operator delete(*(void **)(a1 + 80));
if ( (*(_BYTE *)(a1 + 32) & 1) != 0 )
operator delete(*(void **)(a1 + 48));
if ( (*(_BYTE *)(a1 + 8) & 1) != 0 )
operator delete(*(void **)(a1 + 24));
v2 = *(std::__thread_struct **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
{
std::__thread_struct::~__thread_struct(v2);
operator delete(v2);
}
}