//
// cocos2d::CCTouchDispatcher::ownerLevelFor from 0xdb16a8 to 0xdb1708 (96 bytes)
//
// 3 xrefs:
// > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0xdb18d8
// > cocos2d::CCTouchDispatcher::addPrioTargetedDelegate @ 0xdb1a3c
// > ??> @ 0xd3ea0
//
// This function is hookable on this platform (idp: arm, 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 13:08:39 +0000
//
__int64 __fastcall cocos2d::CCTouchDispatcher::ownerLevelFor(
cocos2d::CCDictionary **this,
cocos2d::CCTouchDelegate *lpsrc,
int *a3)
{
cocos2d::CCNode *v5; // x1
if ( lpsrc
&& (v5 = (cocos2d::CCNode *)_dynamic_cast(
lpsrc,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCTouchDelegate,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
-2)) != nullptr )
{
return cocos2d::CCTouchDispatcher::ownerLevelOf(this, v5, a3);
}
else
{
return 0;
}
}