; ; cocos2d::extension::WebSocket::onSubThreadLoop from 0x18001a550 to 0x18001a592 (66 bytes) ; ; 3 xrefs: ; > @ 0x180029038 ; > @ 0x18002fdf8 ; > @ 0x18004acec ; ; 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 ; sub rsp, 28h ; +0x0, 0x18001a550 mov eax, [rcx+8] ; +0x4, 0x18001a554 mov rcx, [rcx+68h] ; +0x7, 0x18001a557 sub eax, 2 ; +0xb, 0x18001a55b cmp eax, 1 ; +0xe, 0x18001a55e jbe short loc_18001A582 ; +0x11, 0x18001a561 test rcx, rcx ; +0x13, 0x18001a563 jz short loc_18001A570 ; +0x16, 0x18001a566 xor edx, edx ; +0x18, 0x18001a568 call cs:lws_service ; +0x1a, 0x18001a56a mov ecx, 32h ; '2'; dwMilliseconds ; +0x20, 0x18001a570 call cs:Sleep ; +0x25, 0x18001a575 xor eax, eax ; +0x2b, 0x18001a57b add rsp, 28h ; +0x2d, 0x18001a57d retn ; +0x31, 0x18001a581 call cs:lws_context_destroy ; +0x32, 0x18001a582 mov eax, 1 ; +0x38, 0x18001a588 add rsp, 28h ; +0x3d, 0x18001a58d retn ; +0x41, 0x18001a591