//
// cocos2d::extension::WsThreadHelper::~WsThreadHelper from 0x7b2cbc to 0x7b2d1c (96 bytes)
//
// 1 xrefs:
// > cocos2d::extension::WsThreadHelper::~WsThreadHelper @ 0x7b2d24
//
// 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
//
// Alternative name is '_ZN7cocos2d9extension14WsThreadHelperD1Ev'
void __fastcall cocos2d::extension::WsThreadHelper::~WsThreadHelper(cocos2d::extension::WsThreadHelper *this)
{
int v2; // r0
cocos2d::CCScheduler *v3; // r0
_DWORD *v4; // r5
_DWORD *v5; // r5
*(_DWORD *)this = &off_D02208;
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCScheduler *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 64))(v2);
cocos2d::CCScheduler::unscheduleAllForTarget(v3, this);
pthread_mutex_destroy((pthread_mutex_t *)((char *)this + 60));
pthread_mutex_destroy((pthread_mutex_t *)((char *)this + 64));
v4 = *((_DWORD **)this + 13);
if ( v4 )
{
if ( v4[2] )
sub_7B2C94(*((int **)this + 13));
operator delete(v4);
}
v5 = *((_DWORD **)this + 14);
if ( v5 )
{
if ( v5[2] )
sub_7B2C94(*((int **)this + 14));
operator delete(v5);
}
cocos2d::CCObject::~CCObject(this);
}