//
// sub_1002DDC14 from 0x1002ddc14 to 0x1002ddc74 (96 bytes)
//
// 2 xrefs:
// > sub_1002DDBC0 @ 0x1002ddbd4
// > cocos2d::extension::CCHttpClient::dCCHttpClient @ 0x1002ddf04
//
// 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_1002DDC14(__int64 a1)
{
std::thread *v2; // x19
std::thread *v3; // x20
std::mutex::lock((std::mutex *)(a1 + 72));
*(_BYTE *)(a1 + 184) = 1;
std::mutex::unlock((std::mutex *)(a1 + 72));
std::condition_variable::notify_all((std::condition_variable *)(a1 + 136));
v2 = *(std::thread **)a1;
v3 = *(std::thread **)(a1 + 8);
while ( v2 != v3 )
{
if ( v2->__t_ )
std::thread::join(v2);
++v2;
}
}