// // cocos2d::extension::WsThreadHelper::WsThreadHelper from 0xaadac8 to 0xaadb7c (180 bytes) // // 3 xrefs: // > cocos2d::extension::WebSocket::init @ 0xaae0ac // > @ 0xb5b00 // > @ 0xc5b80 // // 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 '_ZN7cocos2d9extension14WsThreadHelperC2Ev' void __fastcall cocos2d::extension::WsThreadHelper::WsThreadHelper(cocos2d::extension::WsThreadHelper *this) { _QWORD *v2; // x0 _QWORD *v3; // x0 cocos2d::CCDirector *v4; // x0 cocos2d::CCScheduler *v5; // x0 cocos2d::CCObject::CCObject((cocos2d::CCObject *)this); *((_QWORD *)this + 20) = 0; *((_BYTE *)this + 168) = 0; *(_QWORD *)this = &off_11FAF30; v2 = (_QWORD *)operator new((unsigned __int64)&word_10); *v2 = v2; v2[1] = v2; *((_QWORD *)this + 7) = v2; pthread_mutex_init((pthread_mutex_t *)((char *)this + 72), nullptr); v3 = (_QWORD *)operator new(0x10u); *v3 = v3; v3[1] = v3; *((_QWORD *)this + 8) = v3; pthread_mutex_init((pthread_mutex_t *)((char *)this + 112), nullptr); v4 = cocos2d::CCDirector::sharedDirector(); v5 = v4->getScheduler(v4); cocos2d::CCScheduler::scheduleUpdateForTarget(v5, (cocos2d::CCObject *)this, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source