; ; cocos2d::extension::WebSocket::onUIThreadReceiveMessage from 0x18001ab40 to 0x18001abe1 (161 bytes) ; ; 3 xrefs: ; > @ 0x180029048 ; > @ 0x18002fdf8 ; > @ 0x18004ad40 ; ; 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 ; push rbx ; +0x0, 0x18001ab40 sub rsp, 20h ; +0x2, 0x18001ab42 mov rbx, rdx ; +0x6, 0x18001ab46 mov rdx, rcx ; +0x9, 0x18001ab49 mov r8d, [rbx] ; +0xc, 0x18001ab4c sub r8d, 2 ; +0xf, 0x18001ab4f jz short loc_18001ABCB ; +0x13, 0x18001ab53 sub r8d, 1 ; +0x15, 0x18001ab55 jz short loc_18001AB94 ; +0x19, 0x18001ab59 sub r8d, 1 ; +0x1b, 0x18001ab5b jz short loc_18001AB77 ; +0x1f, 0x18001ab5f cmp r8d, 1 ; +0x21, 0x18001ab61 jnz short loc_18001ABDB ; +0x25, 0x18001ab65 mov rcx, [rcx+70h] ; +0x27, 0x18001ab67 mov rax, [rcx] ; +0x2b, 0x18001ab6b add rsp, 20h ; +0x2e, 0x18001ab6e pop rbx ; +0x32, 0x18001ab72 jmp qword ptr [rax+18h] ; +0x33, 0x18001ab73 mov rcx, [rcx+70h] ; +0x37, 0x18001ab77 lea r8, [rsp+28h+arg_8] ; +0x3b, 0x18001ab7b mov [rsp+28h+arg_8], 1 ; +0x40, 0x18001ab80 mov rax, [rcx] ; +0x48, 0x18001ab88 call qword ptr [rax+20h] ; +0x4b, 0x18001ab8b add rsp, 20h ; +0x4e, 0x18001ab8e pop rbx ; +0x52, 0x18001ab92 retn ; +0x53, 0x18001ab93 mov rcx, [rcx+70h] ; +0x54, 0x18001ab94 mov rbx, [rbx+8] ; +0x58, 0x18001ab98 mov r8, rbx ; +0x5c, 0x18001ab9c mov rax, [rcx] ; +0x5f, 0x18001ab9f call qword ptr [rax+10h] ; +0x62, 0x18001aba2 mov rcx, [rbx]; Block ; +0x65, 0x18001aba5 test rcx, rcx ; +0x68, 0x18001aba8 jz short loc_18001ABB9 ; +0x6b, 0x18001abab call j_j_free ; +0x6d, 0x18001abad mov qword ptr [rbx], 0 ; +0x72, 0x18001abb2 mov edx, 10h ; +0x79, 0x18001abb9 mov rcx, rbx; Block ; +0x7e, 0x18001abbe add rsp, 20h ; +0x81, 0x18001abc1 pop rbx ; +0x85, 0x18001abc5 jmp j_j_free ; +0x86, 0x18001abc6 mov rcx, [rcx+70h] ; +0x8b, 0x18001abcb mov rax, [rcx] ; +0x8f, 0x18001abcf add rsp, 20h ; +0x92, 0x18001abd2 pop rbx ; +0x96, 0x18001abd6 jmp qword ptr [rax+8] ; +0x97, 0x18001abd7 add rsp, 20h ; +0x9b, 0x18001abdb pop rbx ; +0x9f, 0x18001abdf retn ; +0xa0, 0x18001abe0