//
// cocos2d::extension::CCControl::removeTargetWithActionForControlEvents from 0x10023ac68 to 0x10023ace0 (120 bytes)
//
// 4 xrefs:
// > ??> @ 0x1009056d0
// > ??> @ 0x100906b18
// > ??> @ 0x1009079e0
// > ??> @ 0x10090dcd8
//
// 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 11:01:21 +0000
//
__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;
}