//
// sub_1002DE764 from 0x1002de764 to 0x1002de78c (40 bytes)
//
// 4 xrefs:
// > sub_1002DE574 @ 0x1002de598
// > sub_1002E8430 @ 0x1002e8464
// > sub_100414B30 @ 0x100414b74
// > sub_100414D74 @ 0x100414dd8
//
// 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 11:02:46 +0000
//
void __fastcall sub_1002DE764(std::__thread_struct **a1, std::__thread_struct *a2)
{
std::__thread_struct *v3; // x0
void *v4; // x0
v3 = *a1;
*a1 = a2;
if ( v3 )
{
std::__thread_struct::~__thread_struct(v3);
operator delete(v4);
}
}