// // cocos2d::extension::WsThreadHelper::WsThreadHelper from 0x5acd34 to 0x5acd92 (94 bytes) // // 1 xrefs: // > cocos2d::extension::WebSocket::init @ 0x5ad0ae // // 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 // // Alternative name is '_ZN7cocos2d9extension14WsThreadHelperC1Ev' cocos2d::extension::WsThreadHelper *__fastcall cocos2d::extension::WsThreadHelper::WsThreadHelper( cocos2d::extension::WsThreadHelper *this) { _DWORD *v2; // r0 _DWORD *v3; // r0 cocos2d::CCDirector *v4; // r0 cocos2d::CCScheduler *v5; // r0 cocos2d::CCObject::CCObject((cocos2d::CCObject *)this); *(_DWORD *)this = &off_A9EAF8; *((_DWORD *)this + 18) = 0; *((_BYTE *)this + 76) = 0; v2 = (_DWORD *)operator new(8u); *v2 = v2; v2[1] = v2; *((_DWORD *)this + 13) = v2; pthread_mutex_init((pthread_mutex_t *)((char *)this + 60), nullptr); v3 = (_DWORD *)operator new(8u); *v3 = v3; v3[1] = v3; *((_DWORD *)this + 14) = v3; pthread_mutex_init((pthread_mutex_t *)((char *)this + 64), nullptr); v4 = cocos2d::CCDirector::sharedDirector(); v5 = v4->getScheduler(v4); cocos2d::CCScheduler::scheduleUpdateForTarget(v5, (cocos2d::CCObject *)this, 0, 0); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source