//
// cocos2d::extension::WsThreadHelper::createThread from 0x7b2da8 to 0x7b2dec (68 bytes)
//
// 1 xrefs:
// > cocos2d::extension::WebSocket::init @ 0x7b36c0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:08 +0000
//
bool __fastcall cocos2d::extension::WsThreadHelper::createThread(
cocos2d::extension::WsThreadHelper *this,
const cocos2d::extension::WebSocket *a2)
{
pthread_attr_t attr; // [sp+4h] [bp-1Ch] BYREF
*((_DWORD *)this + 18) = a2;
pthread_attr_init(&attr);
return pthread_create(
(pthread_t *)this + 17,
&attr,
(void *(*)(void *))cocos2d::extension::WsThreadEntry::entry,
this) == 0;
}