//
// sub_1007478A0 from 0x1007478a0 to 0x1007478e2 (66 bytes)
//
// 2 xrefs:
// > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x1004c7812
// > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0x1004c7a13
//
// 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 12:36:31 +0000
//
bool __fastcall sub_1007478A0(__int64 a1, __int64 a2)
{
__int64 v2; // rcx
if ( !*(_DWORD *)a1 )
return 0;
v2 = 0;
while ( *(_QWORD *)(*(_QWORD *)(a1 + 16) + 8 * v2) != a2 )
{
if ( *(_DWORD *)a1 == ++v2 )
return 0;
}
return v2 != 0xFFFFFFFFLL;
}