; ; cocos2d::extension::WebSocket::onSubThreadLoop from 0x18001a240 to 0x18001a288 (72 bytes) ; ; 3 xrefs: ; > @ 0x18002b6f0 ; > @ 0x180032408 ; > @ 0x18004cc50 ; ; This function is hookable on this platform (idp: pc, 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 12:15:43 +0000 ; sub rsp, 28h ; +0x0, 0x18001a240 mov eax, [rcx+8] ; +0x4, 0x18001a244 cmp eax, 3 ; +0x7, 0x18001a247 jz short loc_18001A274 ; +0xa, 0x18001a24a cmp eax, 2 ; +0xc, 0x18001a24c jz short loc_18001A274 ; +0xf, 0x18001a24f mov rcx, [rcx+68h] ; +0x11, 0x18001a251 test rcx, rcx ; +0x15, 0x18001a255 jz short loc_18001A262 ; +0x18, 0x18001a258 xor edx, edx ; +0x1a, 0x18001a25a call cs:lws_service ; +0x1c, 0x18001a25c mov ecx, 32h ; '2'; dwMilliseconds ; +0x22, 0x18001a262 call cs:Sleep ; +0x27, 0x18001a267 xor eax, eax ; +0x2d, 0x18001a26d add rsp, 28h ; +0x2f, 0x18001a26f retn ; +0x33, 0x18001a273 mov rcx, [rcx+68h] ; +0x34, 0x18001a274 call cs:lws_context_destroy ; +0x38, 0x18001a278 mov eax, 1 ; +0x3e, 0x18001a27e add rsp, 28h ; +0x43, 0x18001a283 retn ; +0x47, 0x18001a287