{"type": "func", "start": 6442826176, "end": 6442826245, "name": "cocos2d::CCMenu::setHandlerPriority", "pseudocode": "// \n// cocos2d::CCMenu::setHandlerPriority from 0x18005b9c0 to 0x18005ba05 (69 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bce2c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:49 +0000\n// \n\nvoid __fastcall cocos2d::CCMenu::setHandlerPriority(cocos2d::CCMenu *this, int a2)\n{\n  struct cocos2d::CCDirector *v4; // rax\n  cocos2d::CCTouchDispatcher *v5; // rax\n  struct cocos2d::CCTouchDelegate *v6; // r8\n\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v4 + 144LL))(v4);\n  v6 = (cocos2d::CCMenu *)((char *)this + 320);\n  if ( !this )\n    v6 = nullptr;\n  cocos2d::CCTouchDispatcher::setPriority(v5, a2, v6);\n}", "assembly": "; \n; cocos2d::CCMenu::setHandlerPriority from 0x18005b9c0 to 0x18005ba05 (69 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bce2c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:49 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18005b9c0\npush    rdi                                                            ; +0x5, 0x18005b9c5\nsub     rsp, 20h                                                       ; +0x6, 0x18005b9c6\nmov     edi, edx                                                       ; +0xa, 0x18005b9ca\nmov     rbx, rcx                                                       ; +0xc, 0x18005b9cc\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xf, 0x18005b9cf\nmov     rcx, rax                                                       ; +0x14, 0x18005b9d4\nmov     r8, [rax]                                                      ; +0x17, 0x18005b9d7\ncall    qword ptr [r8+90h]                                             ; +0x1a, 0x18005b9da\nxor     ecx, ecx                                                       ; +0x21, 0x18005b9e1\nlea     r8, [rbx+140h]                                                 ; +0x23, 0x18005b9e3\ntest    rbx, rbx                                                       ; +0x2a, 0x18005b9ea\nmov     edx, edi; int                                                  ; +0x2d, 0x18005b9ed\ncmovz   r8, rcx; struct cocos2d::CCTouchDelegate *                     ; +0x2f, 0x18005b9ef\nmov     rcx, rax; this                                                 ; +0x33, 0x18005b9f3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x36, 0x18005b9f6\nadd     rsp, 20h                                                       ; +0x3b, 0x18005b9fb\npop     rdi                                                            ; +0x3f, 0x18005b9ff\njmp     ?setPriority@CCTouchDispatcher@cocos2d@@QEAAXHPEAVCCTouchDelegate@2@@Z; cocos2d::CCTouchDispatcher::setPriority(int,cocos2d::CCTouchDelegate *) ; +0x40, 0x18005ba00", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bce2c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}