//
// sub_1002DDC74 from 0x1002ddc74 to 0x1002ddccc (88 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCHttpClient::send @ 0x1002de020
//
// 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_1002DDC74(__int64 a1, __int64 a2)
{
std::mutex::lock((std::mutex *)(a1 + 72));
if ( (*(_BYTE *)(a1 + 184) & 1) != 0 )
{
std::mutex::unlock((std::mutex *)(a1 + 72));
}
else
{
sub_1002DE87C(a1 + 24, a2);
std::mutex::unlock((std::mutex *)(a1 + 72));
std::condition_variable::notify_one((std::condition_variable *)(a1 + 136));
}
}