//
// cocos2d::CCTouchDispatcher::ownerLevelFor from 0x1800b6ab0 to 0x1800b6b14 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2958
//
// 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:22:22 +0000
//
bool __fastcall cocos2d::CCTouchDispatcher::ownerLevelFor(
cocos2d::CCTouchDispatcher *this,
struct cocos2d::CCTouchDelegate *a2,
int *a3)
{
struct cocos2d::CCNode *v5; // rax
v5 = (struct cocos2d::CCNode *)_RTDynamicCast(
a2,
0,
&cocos2d::CCTouchDelegate `RTTI Type Descriptor',
&cocos2d::CCNode `RTTI Type Descriptor',
0);
return v5 && cocos2d::CCTouchDispatcher::ownerLevelOf(this, v5, a3);
}