//
// cocos2d::extension::WsThreadHelper::wsThreadEntryFunc from 0xaadbfc to 0xaadc68 (108 bytes)
//
// 2 xrefs:
// > cocos2d::extension::WsThreadEntry::entry @ 0xaadc6c
// > ??> @ 0x489c0
//
// 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::wsThreadEntryFunc(
cocos2d::extension::WsThreadHelper *this,
void *a2)
{
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 20) + 16LL))(*((_QWORD *)this + 20));
while ( !*((_BYTE *)this + 168)
&& !(*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 20) + 24LL))(*((_QWORD *)this + 20)) )
;
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 20) + 32LL))(*((_QWORD *)this + 20));
return 0;
}