; ; cocos2d::CCMenu::setHandlerPriority from 0x180059980 to 0x1800599c5 (69 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b2b8c ; ; 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, 0x180059980 push rdi ; +0x5, 0x180059985 sub rsp, 20h ; +0x6, 0x180059986 mov edi, edx ; +0xa, 0x18005998a mov rbx, rcx ; +0xc, 0x18005998c call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xf, 0x18005998f mov rcx, rax ; +0x14, 0x180059994 mov r8, [rax] ; +0x17, 0x180059997 call qword ptr [r8+90h] ; +0x1a, 0x18005999a xor ecx, ecx ; +0x21, 0x1800599a1 lea r8, [rbx+140h] ; +0x23, 0x1800599a3 test rbx, rbx ; +0x2a, 0x1800599aa mov edx, edi; int ; +0x2d, 0x1800599ad cmovz r8, rcx; struct cocos2d::CCTouchDelegate * ; +0x2f, 0x1800599af mov rcx, rax; this ; +0x33, 0x1800599b3 mov rbx, [rsp+28h+arg_0] ; +0x36, 0x1800599b6 add rsp, 20h ; +0x3b, 0x1800599bb pop rdi ; +0x3f, 0x1800599bf jmp ?setPriority@CCTouchDispatcher@cocos2d@@QEAAXHPEAVCCTouchDelegate@2@@Z; cocos2d::CCTouchDispatcher::setPriority(int,cocos2d::CCTouchDelegate *) ; +0x40, 0x1800599c0