// // cocos2d::CCLayer::setTouchPriority from 0x180052da0 to 0x180052de5 (69 bytes) // // 8 xrefs: // > @ 0x1800f33f0 // > @ 0x1800f38d0 // > @ 0x1800f3e28 // > @ 0x1800f43b0 // > @ 0x1800f49a8 // > @ 0x1800fd4e0 // > @ 0x18014cf68 // > @ 0x1801bc40c // // 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:46 +0000 // void __fastcall cocos2d::CCLayer::setTouchPriority(cocos2d::CCLayer *this, int a2) { bool v3; // zf __int64 v4; // rdx if ( *((_DWORD *)this + 98) != a2 ) { v3 = *((_BYTE *)this + 360) == 0; *((_DWORD *)this + 98) = a2; if ( !v3 ) { (*(void (__fastcall **)(cocos2d::CCLayer *, _QWORD))(*(_QWORD *)this + 920LL))(this, 0); LOBYTE(v4) = 1; (*(void (__fastcall **)(cocos2d::CCLayer *, __int64))(*(_QWORD *)this + 920LL))(this, v4); } } }