// // cocos2d::extension::WsThreadHelper::sendMessageToSubThread from 0x5ace54 to 0x5ace84 (48 bytes) // // 2 xrefs: // > cocos2d::extension::WebSocket::send @ 0x5ad17e // > cocos2d::extension::WebSocket::send @ 0x5ad1d0 // // 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 // int __fastcall cocos2d::extension::WsThreadHelper::sendMessageToSubThread(int a1, int a2) { pthread_mutex_t *v2; // r4 _DWORD *v4; // r0 v2 = (pthread_mutex_t *)(a1 + 64); pthread_mutex_lock((pthread_mutex_t *)(a1 + 64)); v4 = (_DWORD *)operator new(0xCu); v4[2] = a2; *v4 = 0; v4[1] = 0; sub_74AAF0(); return j_pthread_mutex_unlock(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source