// // cocos2d::extension::WebSocket::onSubThreadLoop from 0xd1f538 to 0xd1f580 (72 bytes) // // 2 xrefs: // > @ 0xe8318 // > @ 0x15108b8 // // 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:10 +0000 // __int64 __fastcall cocos2d::extension::WebSocket::onSubThreadLoop(cocos2d::extension::WebSocket *this) { int v1; // w1 __int64 v2; // x0 v1 = *((_DWORD *)this + 2); v2 = *((_QWORD *)this + 11); if ( (unsigned int)(v1 - 2) <= 1 ) { lws_context_destroy(v2); return 1; } else { if ( v2 ) lws_service(v2, 0); usleep(0xC350u); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source