; ; cocos2d::CCMenu::giveMenuTouchPriority from 0x1800593c0 to 0x180059443 (131 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b2af0 ; ; 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, 0x1800593c0 push rdi ; +0x5, 0x1800593c5 sub rsp, 20h ; +0x6, 0x1800593c6 cmp dword ptr [rcx+1B4h], 1 ; +0xa, 0x1800593ca mov rdi, rcx ; +0x11, 0x1800593d1 jnz short loc_1800593FA ; +0x14, 0x1800593d4 mov rcx, [rcx+1B8h] ; +0x16, 0x1800593d6 xor ebx, ebx ; +0x1d, 0x1800593dd test rcx, rcx ; +0x1f, 0x1800593df jz short loc_1800593F4 ; +0x22, 0x1800593e2 mov rax, [rcx] ; +0x24, 0x1800593e4 call qword ptr [rax+378h] ; +0x27, 0x1800593e7 mov [rdi+1B8h], rbx ; +0x2d, 0x1800593ed mov [rdi+1B4h], ebx ; +0x34, 0x1800593f4 mov rax, [rdi] ; +0x3a, 0x1800593fa xor edx, edx ; +0x3d, 0x1800593fd mov rcx, rdi ; +0x3f, 0x1800593ff call qword ptr [rax+388h] ; +0x42, 0x180059402 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x48, 0x180059408 mov rbx, [rdi] ; +0x4d, 0x18005940d mov rcx, rax ; +0x50, 0x180059410 mov rdx, [rax] ; +0x53, 0x180059413 call qword ptr [rdx+90h] ; +0x56, 0x180059416 mov rcx, rdi ; +0x5c, 0x18005941c mov edx, [rax+7Ch] ; +0x5f, 0x18005941f dec edx ; +0x62, 0x180059422 call qword ptr [rbx+3A0h] ; +0x64, 0x180059424 mov rax, [rdi] ; +0x6a, 0x18005942a mov dl, 1 ; +0x6d, 0x18005942d mov rcx, rdi ; +0x6f, 0x18005942f mov rbx, [rsp+28h+arg_0] ; +0x72, 0x180059432 add rsp, 20h ; +0x77, 0x180059437 pop rdi ; +0x7b, 0x18005943b jmp qword ptr [rax+388h] ; +0x7c, 0x18005943c