{"type": "func", "start": 6442790304, "end": 6442790373, "name": "cocos2d::CCLayer::setTouchPriority", "pseudocode": "// \n// cocos2d::CCLayer::setTouchPriority from 0x180052da0 to 0x180052de5 (69 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800f33f0\n// > <???> @ 0x1800f38d0\n// > <???> @ 0x1800f3e28\n// > <???> @ 0x1800f43b0\n// > <???> @ 0x1800f49a8\n// > <???> @ 0x1800fd4e0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc40c\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:46 +0000\n// \n\nvoid __fastcall cocos2d::CCLayer::setTouchPriority(cocos2d::CCLayer *this, int a2)\n{\n  bool v3; // zf\n  __int64 v4; // rdx\n\n  if ( *((_DWORD *)this + 98) != a2 )\n  {\n    v3 = *((_BYTE *)this + 360) == 0;\n    *((_DWORD *)this + 98) = a2;\n    if ( !v3 )\n    {\n      (*(void (__fastcall **)(cocos2d::CCLayer *, _QWORD))(*(_QWORD *)this + 920LL))(this, 0);\n      LOBYTE(v4) = 1;\n      (*(void (__fastcall **)(cocos2d::CCLayer *, __int64))(*(_QWORD *)this + 920LL))(this, v4);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::setTouchPriority from 0x180052da0 to 0x180052de5 (69 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800f33f0\n; > <???> @ 0x1800f38d0\n; > <???> @ 0x1800f3e28\n; > <???> @ 0x1800f43b0\n; > <???> @ 0x1800f49a8\n; > <???> @ 0x1800fd4e0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc40c\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:46 +0000\n; \npush    rbx                                                            ; +0x0, 0x180052da0\nsub     rsp, 20h                                                       ; +0x2, 0x180052da2\nmov     rbx, rcx                                                       ; +0x6, 0x180052da6\ncmp     [rcx+188h], edx                                                ; +0x9, 0x180052da9\njz      short loc_180052DDF                                            ; +0xf, 0x180052daf\ncmp     byte ptr [rcx+168h], 0                                         ; +0x11, 0x180052db1\nmov     [rcx+188h], edx                                                ; +0x18, 0x180052db8\njz      short loc_180052DDF                                            ; +0x1e, 0x180052dbe\nmov     rax, [rcx]                                                     ; +0x20, 0x180052dc0\nxor     edx, edx                                                       ; +0x23, 0x180052dc3\ncall    qword ptr [rax+398h]                                           ; +0x25, 0x180052dc5\nmov     rax, [rbx]                                                     ; +0x2b, 0x180052dcb\nmov     dl, 1                                                          ; +0x2e, 0x180052dce\nmov     rcx, rbx                                                       ; +0x30, 0x180052dd0\nadd     rsp, 20h                                                       ; +0x33, 0x180052dd3\npop     rbx                                                            ; +0x37, 0x180052dd7\njmp     qword ptr [rax+398h]                                           ; +0x38, 0x180052dd8\nadd     rsp, 20h                                                       ; +0x3f, 0x180052ddf\npop     rbx                                                            ; +0x43, 0x180052de3\nretn                                                                   ; +0x44, 0x180052de4", "xrefs": ["<???> @ 0x1800f33f0", "<???> @ 0x1800f38d0", "<???> @ 0x1800f3e28", "<???> @ 0x1800f43b0", "<???> @ 0x1800f49a8", "<???> @ 0x1800fd4e0", "<???> @ 0x18014cf68", "<???> @ 0x1801bc40c"], "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"}