//
// cocos2d::CCLayer::ccTouchBegan from 0x18004f430 to 0x18004f47e (78 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800ed2f8
// > ??> @ 0x1800ed7b8
// > ??> @ 0x1800edd08
// > ??> @ 0x1800ee2e0
// > ??> @ 0x1800ee830
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1d94
//
// 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
//
bool __fastcall cocos2d::CCLayer::ccTouchBegan(
cocos2d::CCLayer *this,
struct cocos2d::CCTouch *a2,
struct cocos2d::CCEvent *a3)
{
struct cocos2d::CCScriptEngineManager *v5; // rax
if ( !*((_DWORD *)this - 5) )
return 1;
v5 = cocos2d::CCScriptEngineManager::sharedManager();
return (*(unsigned int (__fastcall **)(_QWORD, char *, _QWORD, struct cocos2d::CCTouch *))(**(_QWORD **)v5 + 112LL))(
*(_QWORD *)v5,
(char *)this - 320,
0,
a2) != 0;
}