; ; cocos2d::CCMenu::setHandlerPriority from 0x18005b9c0 to 0x18005ba05 (69 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bce2c ; ; 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, 0x18005b9c0 push rdi ; +0x5, 0x18005b9c5 sub rsp, 20h ; +0x6, 0x18005b9c6 mov edi, edx ; +0xa, 0x18005b9ca mov rbx, rcx ; +0xc, 0x18005b9cc call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xf, 0x18005b9cf mov rcx, rax ; +0x14, 0x18005b9d4 mov r8, [rax] ; +0x17, 0x18005b9d7 call qword ptr [r8+90h] ; +0x1a, 0x18005b9da xor ecx, ecx ; +0x21, 0x18005b9e1 lea r8, [rbx+140h] ; +0x23, 0x18005b9e3 test rbx, rbx ; +0x2a, 0x18005b9ea mov edx, edi; int ; +0x2d, 0x18005b9ed cmovz r8, rcx; struct cocos2d::CCTouchDelegate * ; +0x2f, 0x18005b9ef mov rcx, rax; this ; +0x33, 0x18005b9f3 mov rbx, [rsp+28h+arg_0] ; +0x36, 0x18005b9f6 add rsp, 20h ; +0x3b, 0x18005b9fb pop rdi ; +0x3f, 0x18005b9ff jmp ?setPriority@CCTouchDispatcher@cocos2d@@QEAAXHPEAVCCTouchDelegate@2@@Z; cocos2d::CCTouchDispatcher::setPriority(int,cocos2d::CCTouchDelegate *) ; +0x40, 0x18005ba00