{"type": "func", "start": 6442824752, "end": 6442824799, "name": "cocos2d::CCMenu::giveMenuTouchPriority", "pseudocode": "// \n// cocos2d::CCMenu::giveMenuTouchPriority from 0x18005b430 to 0x18005b45f (47 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcd90\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::giveMenuTouchPriority(cocos2d::CCMenu *this)\n{\n  struct cocos2d::CCDirector *v2; // rax\n  __int64 v3; // rax\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v2 + 144LL))(v2);\n  cocos2d::CCMenu::giveMenuTouchPriority(this, *(_DWORD *)(v3 + 128) - 1);\n}", "assembly": "; \n; cocos2d::CCMenu::giveMenuTouchPriority from 0x18005b430 to 0x18005b45f (47 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcd90\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; \npush    rbx                                                            ; +0x0, 0x18005b430\nsub     rsp, 20h                                                       ; +0x2, 0x18005b432\nmov     rbx, rcx                                                       ; +0x6, 0x18005b436\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x18005b439\nmov     rcx, rax                                                       ; +0xe, 0x18005b43e\nmov     rdx, [rax]                                                     ; +0x11, 0x18005b441\ncall    qword ptr [rdx+90h]                                            ; +0x14, 0x18005b444\nmov     rcx, rbx; this                                                 ; +0x1a, 0x18005b44a\nmov     edx, [rax+80h]                                                 ; +0x1d, 0x18005b44d\ndec     edx; int                                                       ; +0x23, 0x18005b453\nadd     rsp, 20h                                                       ; +0x25, 0x18005b455\npop     rbx                                                            ; +0x29, 0x18005b459\njmp     ?giveMenuTouchPriority@CCMenu@cocos2d@@QEAAXH@Z; cocos2d::CCMenu::giveMenuTouchPriority(int) ; +0x2a, 0x18005b45a", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bcd90"], "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"}