//
// cocos2d::extension::WsThreadHelper::joinSubThread from 0x5ace84 to 0x5aceae (42 bytes)
//
// 1 xrefs:
// > cocos2d::extension::WebSocket::close @ 0x5ad1fa
//
// 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
//
int __fastcall cocos2d::extension::WsThreadHelper::joinSubThread(pthread_t *this, void *a2)
{
pthread_t v2; // r0
void *v4[2]; // [sp+0h] [bp-8h] BYREF
v4[0] = this;
v4[1] = a2;
v2 = *(this + 17);
v4[0] = nullptr;
return pthread_join(v2, v4);
}