//
// cocos2d::extension::CCControl::addTargetWithActionForControlEvents from 0x10023aba0 to 0x10023ac18 (120 bytes)
//
// 4 xrefs:
// > ??> @ 0x1009056c8
// > ??> @ 0x100906b10
// > ??> @ 0x1009079d8
// > ??> @ 0x10090dcd0
//
// 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::addTargetWithActionForControlEvents(
__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::addTargetWithActionForControlEvent(v9, a2, a3, a4);
}
return result;
}