; ; cocos2d::extension::WebSocket::onUIThreadReceiveMessage from 0x18001a860 to 0x18001a906 (166 bytes) ; ; 3 xrefs: ; > @ 0x18002b700 ; > @ 0x180032408 ; > @ 0x18004cc8c ; ; 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 ; push rbx ; +0x0, 0x18001a860 sub rsp, 20h ; +0x2, 0x18001a862 mov rbx, rdx ; +0x6, 0x18001a866 mov rdx, rcx ; +0x9, 0x18001a869 mov r8d, [rbx] ; +0xc, 0x18001a86c sub r8d, 2 ; +0xf, 0x18001a86f jz short loc_18001A8F0 ; +0x13, 0x18001a873 sub r8d, 1 ; +0x15, 0x18001a875 jz short loc_18001A8B4 ; +0x19, 0x18001a879 sub r8d, 1 ; +0x1b, 0x18001a87b jz short loc_18001A897 ; +0x1f, 0x18001a87f cmp r8d, 1 ; +0x21, 0x18001a881 jnz short loc_18001A900 ; +0x25, 0x18001a885 mov rcx, [rcx+70h] ; +0x27, 0x18001a887 mov rax, [rcx] ; +0x2b, 0x18001a88b add rsp, 20h ; +0x2e, 0x18001a88e pop rbx ; +0x32, 0x18001a892 jmp qword ptr [rax+18h] ; +0x33, 0x18001a893 mov rcx, [rcx+70h] ; +0x37, 0x18001a897 lea r8, [rsp+28h+arg_8] ; +0x3b, 0x18001a89b mov [rsp+28h+arg_8], 1 ; +0x40, 0x18001a8a0 mov rax, [rcx] ; +0x48, 0x18001a8a8 call qword ptr [rax+20h] ; +0x4b, 0x18001a8ab add rsp, 20h ; +0x4e, 0x18001a8ae pop rbx ; +0x52, 0x18001a8b2 retn ; +0x53, 0x18001a8b3 mov rcx, [rcx+70h] ; +0x54, 0x18001a8b4 mov rbx, [rbx+8] ; +0x58, 0x18001a8b8 mov r8, rbx ; +0x5c, 0x18001a8bc mov rax, [rcx] ; +0x5f, 0x18001a8bf call qword ptr [rax+10h] ; +0x62, 0x18001a8c2 mov rcx, [rbx]; Block ; +0x65, 0x18001a8c5 test rcx, rcx ; +0x68, 0x18001a8c8 jz short loc_18001A8D9 ; +0x6b, 0x18001a8cb call j_j_free ; +0x6d, 0x18001a8cd mov qword ptr [rbx], 0 ; +0x72, 0x18001a8d2 test rbx, rbx ; +0x79, 0x18001a8d9 jz short loc_18001A900 ; +0x7c, 0x18001a8dc mov edx, 10h ; +0x7e, 0x18001a8de mov rcx, rbx; Block ; +0x83, 0x18001a8e3 add rsp, 20h ; +0x86, 0x18001a8e6 pop rbx ; +0x8a, 0x18001a8ea jmp j_j_free ; +0x8b, 0x18001a8eb mov rcx, [rcx+70h] ; +0x90, 0x18001a8f0 mov rax, [rcx] ; +0x94, 0x18001a8f4 add rsp, 20h ; +0x97, 0x18001a8f7 pop rbx ; +0x9b, 0x18001a8fb jmp qword ptr [rax+8] ; +0x9c, 0x18001a8fc add rsp, 20h ; +0xa0, 0x18001a900 pop rbx ; +0xa4, 0x18001a904 retn ; +0xa5, 0x18001a905