// // cocos2d::extension::WebSocket::onSubThreadLoop from 0x7b2c6c to 0x7b2c94 (40 bytes) // // 0 xrefs: // // 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 // int __fastcall cocos2d::extension::WebSocket::onSubThreadLoop(cocos2d::extension::WebSocket *this) { int v1; // r3 int v2; // r0 v1 = *((_DWORD *)this + 1); v2 = *((_DWORD *)this + 11); if ( (unsigned int)(v1 - 2) > 1 ) { if ( v2 ) lws_service(v2, 0); usleep(0xC350u); return 0; } else { lws_context_destroy(v2); return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source