; ; sub_180019530 from 0x180019530 to 0x180019575 (69 bytes) ; ; 2 xrefs: ; > cocos2d::extension::WebSocket::init @ 0x180019fc7 ; > @ 0x18004cba8 ; ; 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:42 +0000 ; push rbx ; +0x0, 0x180019530 sub rsp, 20h ; +0x2, 0x180019532 mov rbx, rcx ; +0x6, 0x180019536 mov rcx, [rcx+68h] ; +0x9, 0x180019539 mov rax, [rcx] ; +0xd, 0x18001953d call qword ptr [rax+8] ; +0x10, 0x180019540 cmp byte ptr [rbx+70h], 0 ; +0x13, 0x180019543 jnz short loc_180019563 ; +0x17, 0x180019547 nop dword ptr [rax+00000000h] ; +0x19, 0x180019549 mov rcx, [rbx+68h] ; +0x20, 0x180019550 mov rax, [rcx] ; +0x24, 0x180019554 call qword ptr [rax+10h] ; +0x27, 0x180019557 test eax, eax ; +0x2a, 0x18001955a jnz short loc_180019563 ; +0x2c, 0x18001955c cmp [rbx+70h], al ; +0x2e, 0x18001955e jz short loc_180019550 ; +0x31, 0x180019561 mov rcx, [rbx+68h] ; +0x33, 0x180019563 mov rax, [rcx] ; +0x37, 0x180019567 call qword ptr [rax+18h] ; +0x3a, 0x18001956a xor eax, eax ; +0x3d, 0x18001956d add rsp, 20h ; +0x3f, 0x18001956f pop rbx ; +0x43, 0x180019573 retn ; +0x44, 0x180019574