//
// cocos2d::extension::WsThreadHelper::joinSubThread from 0xaadd28 to 0xaadd74 (76 bytes)
//
// 2 xrefs:
// > cocos2d::extension::WebSocket::close @ 0xaae4f0
// > ??> @ 0x94020
//
// 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
//
__int64 __fastcall cocos2d::extension::WsThreadHelper::joinSubThread(cocos2d::extension::WsThreadHelper *this)
{
pthread_t v1; // x0
void *v3; // [xsp+20h] [xbp+20h] BYREF
v1 = *((_QWORD *)this + 19);
v3 = nullptr;
pthread_join(v1, &v3);
return _stack_chk_guard;
}