; ; sub_180019490 from 0x180019490 to 0x180019517 (135 bytes) ; ; 2 xrefs: ; > @ 0x180029028 ; > @ 0x18004abfc ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180019490 mov [rsp+arg_8], rsi ; +0x5, 0x180019495 push rdi ; +0xa, 0x18001949a sub rsp, 20h ; +0xb, 0x18001949b mov rbx, rcx ; +0xf, 0x18001949f mov edi, edx ; +0x12, 0x1800194a2 and edi, 1 ; +0x14, 0x1800194a4 test dl, 2 ; +0x17, 0x1800194a7 jz short loc_1800194EE ; +0x1a, 0x1800194aa lea r9, ??1WebSocket@extension@cocos2d@@UEAA@XZ; void (*)(void *) ; +0x1c, 0x1800194ac mov r8, [rcx-8]; unsigned __int64 ; +0x23, 0x1800194b3 mov edx, 88h; unsigned __int64 ; +0x27, 0x1800194b7 call ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x2c, 0x1800194bc test edi, edi ; +0x31, 0x1800194c1 jz short loc_1800194DA ; +0x33, 0x1800194c3 imul rdx, [rbx-8], 88h ; +0x35, 0x1800194c5 add rdx, 8 ; +0x3d, 0x1800194cd lea rcx, [rbx-8]; Block ; +0x41, 0x1800194d1 call j_j_j_free ; +0x45, 0x1800194d5 lea rax, [rbx-8] ; +0x4a, 0x1800194da mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x1800194de mov rsi, [rsp+28h+arg_8] ; +0x53, 0x1800194e3 add rsp, 20h ; +0x58, 0x1800194e8 pop rdi ; +0x5c, 0x1800194ec retn ; +0x5d, 0x1800194ed call ??1WebSocket@extension@cocos2d@@UEAA@XZ; cocos2d::extension::WebSocket::~WebSocket(void) ; +0x5e, 0x1800194ee test edi, edi ; +0x63, 0x1800194f3 jz short loc_180019504 ; +0x65, 0x1800194f5 mov edx, 88h ; +0x67, 0x1800194f7 mov rcx, rbx; Block ; +0x6c, 0x1800194fc call j_j_free ; +0x6f, 0x1800194ff mov rax, rbx ; +0x74, 0x180019504 mov rbx, [rsp+28h+arg_0] ; +0x77, 0x180019507 mov rsi, [rsp+28h+arg_8] ; +0x7c, 0x18001950c add rsp, 20h ; +0x81, 0x180019511 pop rdi ; +0x85, 0x180019515 retn ; +0x86, 0x180019516