//
// sub_100240C18 from 0x100240c18 to 0x100240c70 (88 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCHttpClient::send @ 0x100240fcc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_100240C18(__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_100241828(a1 + 24, a2);
std::mutex::unlock((std::mutex *)(a1 + 72));
std::condition_variable::notify_one((std::condition_variable *)(a1 + 136));
}
}