//
// cocos2d::extension::WsThreadHelper::wsThreadEntryFunc from 0x5acdf4 to 0x5ace1e (42 bytes)
//
// 1 xrefs:
// > cocos2d::extension::WsThreadEntry::entry @ 0x5ace20
//
// 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::wsThreadEntryFunc(
cocos2d::extension::WsThreadHelper *this,
void *a2)
{
(*(void (__fastcall **)(_DWORD, void *))(**((_DWORD **)this + 18) + 8))(*((_DWORD *)this + 18), a2);
while ( !*((_BYTE *)this + 76)
&& !(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 18) + 12))(*((_DWORD *)this + 18)) )
;
(*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 18) + 16))(*((_DWORD *)this + 18));
return 0;
}