; ; cocos2d::CCMenu::giveMenuTouchPriority from 0x18005b3b0 to 0x18005b427 (119 bytes) ; ; 3 xrefs: ; > cocos2d::CCMenu::giveMenuTouchPriority @ 0x18005b45a ; > @ 0x18014cf68 ; > @ 0x1801bcd84 ; ; 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 11:21:49 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18005b3b0 push rdi ; +0x5, 0x18005b3b5 sub rsp, 20h ; +0x6, 0x18005b3b6 cmp dword ptr [rcx+1B4h], 1 ; +0xa, 0x18005b3ba mov edi, edx ; +0x11, 0x18005b3c1 mov rbx, rcx ; +0x13, 0x18005b3c3 jnz short loc_18005B3F2 ; +0x16, 0x18005b3c6 mov rcx, [rcx+1B8h] ; +0x18, 0x18005b3c8 test rcx, rcx ; +0x1f, 0x18005b3cf jz short loc_18005B3E8 ; +0x22, 0x18005b3d2 mov rax, [rcx] ; +0x24, 0x18005b3d4 call qword ptr [rax+388h] ; +0x27, 0x18005b3d7 mov qword ptr [rbx+1B8h], 0 ; +0x2d, 0x18005b3dd mov dword ptr [rbx+1B4h], 0 ; +0x38, 0x18005b3e8 mov rax, [rbx] ; +0x42, 0x18005b3f2 xor edx, edx ; +0x45, 0x18005b3f5 mov rcx, rbx ; +0x47, 0x18005b3f7 call qword ptr [rax+398h] ; +0x4a, 0x18005b3fa mov rax, [rbx] ; +0x50, 0x18005b400 mov edx, edi ; +0x53, 0x18005b403 mov rcx, rbx ; +0x55, 0x18005b405 call qword ptr [rax+3B0h] ; +0x58, 0x18005b408 mov rax, [rbx] ; +0x5e, 0x18005b40e mov dl, 1 ; +0x61, 0x18005b411 mov rcx, rbx ; +0x63, 0x18005b413 mov rbx, [rsp+28h+arg_0] ; +0x66, 0x18005b416 add rsp, 20h ; +0x6b, 0x18005b41b pop rdi ; +0x6f, 0x18005b41f jmp qword ptr [rax+398h] ; +0x70, 0x18005b420