// // cocos2d::extension::WsThreadHelper::WsThreadHelper from 0xd1f6a0 to 0xd1f75c (188 bytes) // // 3 xrefs: // > cocos2d::extension::WebSocket::init @ 0xd2069c // > @ 0xed460 // > @ 0x101500 // // 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 // // Alternative name is '_ZN7cocos2d9extension14WsThreadHelperC2Ev' __int64 __fastcall cocos2d::extension::WsThreadHelper::WsThreadHelper(cocos2d::extension::WsThreadHelper *this) { _QWORD *v2; // x0 _QWORD *v3; // x0 cocos2d::CCDirector *v4; // x0 __int64 v5; // x0 cocos2d::CCScheduler *v6; // x0 cocos2d::CCObject::CCObject(this); *((_QWORD *)this + 20) = 0; *((_BYTE *)this + 168) = 0; *(_QWORD *)this = &off_1510840; v2 = (_QWORD *)operator new(0x18u); *v2 = v2; v2[1] = v2; v2[2] = 0; *((_QWORD *)this + 7) = v2; pthread_mutex_init((pthread_mutex_t *)((char *)this + 72), nullptr); v3 = (_QWORD *)operator new(0x18u); *v3 = v3; v3[1] = v3; v3[2] = 0; *((_QWORD *)this + 8) = v3; v4 = (cocos2d::CCDirector *)pthread_mutex_init((pthread_mutex_t *)((char *)this + 112), nullptr); v5 = cocos2d::CCDirector::sharedDirector(v4); v6 = (cocos2d::CCScheduler *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 128LL))(v5); return cocos2d::CCScheduler::scheduleUpdateForTarget(v6, this, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source