//
// std::__ndk1::__thread_struct::~__thread_struct from 0x97ec7a to 0x97ec90 (22 bytes)
//
// 12 xrefs:
// > sub_3D408A @ 0x3d409e
// > sub_3D427C @ 0x3d42b0
// > GManager::saveGMTo @ 0x3d43f0
// > sub_45F7FC @ 0x45f828
// > sub_45F97E @ 0x45f998
// > std::__ndk1::__thread_specific_ptr::reset @ 0x46ba2a
// > LevelEditorLayer::doAutoSave @ 0x472b5c
// > LevelEditorLayer::doAutoBackup @ 0x472f0a
// > std::__ndk1::__tuple_leaf<0u,std::__ndk1::unique_ptr>,false>::~__tuple_leaf @ 0x7b219a
// > sub_7B21A8 @ 0x7b21dc
// > sub_7B238C @ 0x7b23e6
// > std::__ndk1::__thread_specific_ptr::__at_thread_exit @ 0x97eca2
//
// 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 12:06:05 +0000
//
// Alternative name is '_ZNSt6__ndk115__thread_structD2Ev'
void __fastcall std::__thread_struct::~__thread_struct(std::__thread_struct *this)
{
int v1; // r0
void *v2; // r0
v1 = *(_DWORD *)this;
if ( v1 )
{
v2 = (void *)sub_97EB00(v1);
operator delete(v2);
}
}