//
// std::mutex::lock from 0x5ab854 to 0x5ab86a (22 bytes)
//
// 6 xrefs:
// > cocos2d::extension::CCHttpClient::dispatchResponseCallbacks @ 0x5ab87c
// > cocos2d::extension::CCThreadPool::availableThreadCount @ 0x5ab91e
// > cocos2d::extension::CCThreadPool::shutdown @ 0x5abbbc
// > sub_5ABD78 @ 0x5abda6
// > cocos2d::extension::CCThreadPool::enqueue @ 0x5ac0a2
// > sub_5AC564 @ 0x5ac932
//
// 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
//
pthread_mutex_t *__fastcall std::mutex::lock(pthread_mutex_t *this)
{
if ( &pthread_create )
{
this = (pthread_mutex_t *)pthread_mutex_lock(this);
if ( this )
sub_7735D4();
}
return this;
}