//
// cocos2d::extension::CCControl::removeTargetWithActionForControlEvents from 0x1001a5cf8 to 0x1001a5d70 (120 bytes)
//
// 4 xrefs:
// > ??> @ 0x1007ae2e0
// > ??> @ 0x1007af5e8
// > ??> @ 0x1007b0408
// > ??> @ 0x1007b6390
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall cocos2d::extension::CCControl::removeTargetWithActionForControlEvents(
__int64 result,
__int64 a2,
__int64 a3,
__int64 a4,
int a5)
{
__int64 v9; // x23
int i; // w24
v9 = result;
for ( i = 0; i != 9; ++i )
{
if ( ((1 << i) & a5) != 0 )
result = cocos2d::extension::CCControl::removeTargetWithActionForControlEvent(v9, a2, a3, a4);
}
return result;
}