//
// cocos2d::extension::CCControl::getHandleOfControlEvent from 0x7a6a40 to 0x7a6a7c (60 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControl::sendActionsForControlEvents @ 0x7a6ae8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:58 +0000
//
int __fastcall cocos2d::extension::CCControl::getHandleOfControlEvent(
cocos2d::extension::CCControl *this,
unsigned int a2,
int a3)
{
char *v3; // r5
char *v4; // r0
_DWORD v6[3]; // [sp+0h] [bp-Ch] BYREF
v6[1] = a2;
v6[2] = a3;
v3 = (char *)this + 348;
v6[0] = a2;
v4 = (char *)std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::find(
(int)this + 344,
v6);
if ( v4 == v3 )
return -1;
else
return *((_DWORD *)v4 + 5);
}