//
// cocos2d::CCLayer::ccTouchesBegan from 0x180051360 to 0x18005139c (60 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800f3478
// > ??> @ 0x1800f3958
// > ??> @ 0x1800f3ec8
// > ??> @ 0x1800f44c0
// > ??> @ 0x1800f4a30
// > ??> @ 0x1800fd578
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc058
//
// This function is hookable on this platform (idp: pc, 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:21:45 +0000
//
void __fastcall cocos2d::CCLayer::ccTouchesBegan(
cocos2d::CCLayer *this,
struct cocos2d::CCSet *a2,
struct cocos2d::CCEvent *a3)
{
char *v3; // rbx
struct cocos2d::CCScriptEngineManager *v5; // rax
v3 = (char *)this - 320;
if ( *((_DWORD *)this - 5) )
{
v5 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, char *, _QWORD, struct cocos2d::CCSet *))(**(_QWORD **)v5 + 104LL))(
*(_QWORD *)v5,
v3,
0,
a2);
}
}