//
// cocos2d::extension::CCControl::addTargetWithActionForControlEvent from 0x10023ac18 to 0x10023ac68 (80 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControl::addTargetWithActionForControlEvents @ 0x10023abf0
//
// 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
//
double __fastcall cocos2d::extension::CCControl::addTargetWithActionForControlEvent(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5)
{
unsigned int v5; // w19
__int64 v7; // x21
__int64 v8; // x0
double result; // d0
v5 = a5;
v7 = cocos2d::extension::CCInvocation::create(a2, a3, a4, a5);
v8 = cocos2d::extension::CCControl::dispatchListforControlEvent(a1, v5);
*(_QWORD *)&result = sub_1002E74E0(v8, v7).n128_u64[0];
return result;
}