//
// cocos2d::extension::WsThreadHelper::wsThreadEntryFunc from 0xd1f7dc to 0xd1f848 (108 bytes)
//
// 2 xrefs:
// > cocos2d::extension::WsThreadEntry::entry @ 0xd1f84c
// > ??> @ 0x66a60
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:11 +0000
//
__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;
}