; ; sub_180019780 from 0x180019780 to 0x18001981c (156 bytes) ; ; 3 xrefs: ; > cocos2d::extension::WebSocket::send @ 0x18001a3ff ; > cocos2d::extension::WebSocket::send @ 0x18001a4ab ; > @ 0x18004ac5c ; ; 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, 0x180019780 mov [rsp+arg_8], rbp ; +0x5, 0x180019785 mov [rsp+arg_10], rsi ; +0xa, 0x18001978a push rdi ; +0xf, 0x18001978f sub rsp, 30h ; +0x10, 0x180019790 mov rbp, rdx ; +0x14, 0x180019794 mov rbx, rcx ; +0x17, 0x180019797 lea rsi, [rcx+50h] ; +0x1a, 0x18001979a mov rcx, rsi ; +0x1e, 0x18001979e call cs:pthread_mutex_lock ; +0x21, 0x1800197a1 mov rbx, [rbx+40h] ; +0x27, 0x1800197a7 mov rdi, [rbx] ; +0x2b, 0x1800197ab mov rax, 0AAAAAAAAAAAAAAAh ; +0x2e, 0x1800197ae cmp [rbx+8], rax ; +0x38, 0x1800197b8 jnz short loc_1800197CC ; +0x3c, 0x1800197bc lea rcx, aListTooLong; "list too long" ; +0x3e, 0x1800197be call cs:?_Xlength_error@std@@YAXPEBD@Z; std::_Xlength_error(char const *) ; +0x45, 0x1800197c5 align 4 ; +0x4b, 0x1800197cb mov [rsp+38h+var_18], rbx ; +0x4c, 0x1800197cc mov [rsp+38h+var_10], 0 ; +0x51, 0x1800197d1 mov ecx, 18h; Size ; +0x5a, 0x1800197da call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x5f, 0x1800197df mov [rax+10h], rbp ; +0x64, 0x1800197e4 inc qword ptr [rbx+8] ; +0x68, 0x1800197e8 mov rdx, [rdi+8] ; +0x6c, 0x1800197ec mov [rax], rdi ; +0x70, 0x1800197f0 mov [rax+8], rdx ; +0x73, 0x1800197f3 mov [rdi+8], rax ; +0x77, 0x1800197f7 mov [rdx], rax ; +0x7b, 0x1800197fb mov rcx, rsi ; +0x7e, 0x1800197fe mov rbx, [rsp+38h+arg_0] ; +0x81, 0x180019801 mov rbp, [rsp+38h+arg_8] ; +0x86, 0x180019806 mov rsi, [rsp+38h+arg_10] ; +0x8b, 0x18001980b add rsp, 30h ; +0x90, 0x180019810 pop rdi ; +0x94, 0x180019814 jmp cs:pthread_mutex_unlock ; +0x95, 0x180019815