; ; cocos2d::extension::WebSocket::close from 0x18001a1c0 to 0x18001a23f (127 bytes) ; ; 3 xrefs: ; > cocos2d::extension::WebSocket::~WebSocket @ 0x1800197f1 ; > @ 0x180032408 ; > @ 0x18004cc44 ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x18001a1c0 push rdi ; +0x5, 0x18001a1c5 sub rsp, 30h ; +0x6, 0x18001a1c6 mov rdi, rcx ; +0xa, 0x18001a1ca call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x18001a1cd mov rbx, [rdi+58h] ; +0x13, 0x18001a1d3 mov rcx, rax ; +0x17, 0x18001a1d7 mov r8, [rax] ; +0x1a, 0x18001a1da call qword ptr [r8+70h] ; +0x1d, 0x18001a1dd mov rcx, rax ; +0x21, 0x18001a1e1 mov rdx, rbx ; +0x24, 0x18001a1e4 call cs:?unscheduleAllForTarget@CCScheduler@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCScheduler::unscheduleAllForTarget(cocos2d::CCObject *) ; +0x27, 0x18001a1e7 mov eax, [rdi+8] ; +0x2d, 0x18001a1ed cmp eax, 2 ; +0x30, 0x18001a1f0 jz short loc_18001A234 ; +0x33, 0x18001a1f3 cmp eax, 3 ; +0x35, 0x18001a1f5 jz short loc_18001A234 ; +0x38, 0x18001a1f8 mov rax, [rdi+58h] ; +0x3a, 0x18001a1fa lea rdx, [rsp+38h+arg_0] ; +0x3e, 0x18001a1fe mov dword ptr [rdi+8], 3 ; +0x43, 0x18001a203 lea rcx, [rsp+38h+var_18] ; +0x4a, 0x18001a20a mov [rsp+38h+arg_0], 0 ; +0x4f, 0x18001a20f movups xmm0, xmmword ptr [rax+58h] ; +0x58, 0x18001a218 movaps [rsp+38h+var_18], xmm0 ; +0x5c, 0x18001a21c call cs:pthread_join ; +0x61, 0x18001a221 mov rcx, [rdi+70h] ; +0x67, 0x18001a227 mov rdx, rdi ; +0x6b, 0x18001a22b mov rax, [rcx] ; +0x6e, 0x18001a22e call qword ptr [rax+18h] ; +0x71, 0x18001a231 mov rbx, [rsp+38h+arg_8] ; +0x74, 0x18001a234 add rsp, 30h ; +0x79, 0x18001a239 pop rdi ; +0x7d, 0x18001a23d retn ; +0x7e, 0x18001a23e