//
// cocos2d::CCLayer::ccTouchesBegan from 0x18004f540 to 0x18004f57c (60 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800ed318
// > ??> @ 0x1800ed7d8
// > ??> @ 0x1800edd28
// > ??> @ 0x1800ee300
// > ??> @ 0x1800ee850
// > ??> @ 0x1800f7130
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1dc4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCLayer::ccTouchesBegan(
cocos2d::CCLayer *this,
struct cocos2d::CCSet *a2,
struct cocos2d::CCEvent *a3)
{
struct cocos2d::CCScriptEngineManager *v5; // rax
if ( *((_DWORD *)this - 5) )
{
v5 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, char *, _QWORD, struct cocos2d::CCSet *))(**(_QWORD **)v5 + 104LL))(
*(_QWORD *)v5,
(char *)this - 320,
0,
a2);
}
}