//
// cocos2d::CCLayer::ccTouchBegan from 0x1004b1110 to 0x1004b1149 (57 bytes)
//
// 77 xrefs:
// > ??> @ 0x1008b71c0
// > ??> @ 0x1008c0510
// > ??> @ 0x1008c0d30
// > ??> @ 0x1008c1740
// > ??> @ 0x1008c1e80
// > ??> @ 0x1008c2450
// > ??> @ 0x1008da6f0
// > ??> @ 0x1008e3260
// > ??> @ 0x1008e37d0
// > ??> @ 0x1008e3d40
// > ??> @ 0x1008e42b0
// > ??> @ 0x1008e4820
// > ??> @ 0x1008e4d90
// > ??> @ 0x1008e5350
// > ??> @ 0x1008e58f8
// > ??> @ 0x1008e5eb8
// > ??> @ 0x1008e6428
// > ??> @ 0x1008e6998
// > ??> @ 0x1008e6f48
// > ??> @ 0x1008e74d8
// > ??> @ 0x1008e7a48
// > ??> @ 0x1008e7fb8
// > ??> @ 0x1008e8598
// > ??> @ 0x1008e8b78
// > ??> @ 0x1008e9158
// > ??> @ 0x1008e96c8
// > ??> @ 0x1008e9c38
// > ??> @ 0x1008ea1a8
// > ??> @ 0x1008efaf8
// > ??> @ 0x1008f00c0
// > ??> @ 0x1008f7c10
// > ??> @ 0x1008f90c8
// > ??> @ 0x100906b98
// > ??> @ 0x10090efd0
// > ??> @ 0x10090f610
// > ??> @ 0x10090fb80
// > ??> @ 0x1009158b0
// > ??> @ 0x10091b9e8
// > ??> @ 0x10091f9e0
// > ??> @ 0x10091ffe8
// > ??> @ 0x100922928
// > ??> @ 0x100926890
// > ??> @ 0x100927ab8
// > ??> @ 0x100929598
// > ??> @ 0x10092dd30
// > ??> @ 0x10092f270
// > ??> @ 0x100932158
// > ??> @ 0x1009375a8
// > ??> @ 0x100939c38
// > ??> @ 0x10093aab8
// > ??> @ 0x10093b5e0
// > ??> @ 0x10093bc20
// > ??> @ 0x10093c208
// > ??> @ 0x100943b60
// > ??> @ 0x100945988
// > ??> @ 0x100945f98
// > ??> @ 0x100946580
// > ??> @ 0x1009488d0
// > ??> @ 0x100948f90
// > ??> @ 0x100949500
// > ??> @ 0x100949b60
// > ??> @ 0x10094a208
// > ??> @ 0x10094a870
// > ??> @ 0x10095eb98
// > ??> @ 0x100964d60
// > ??> @ 0x100972f38
// > ??> @ 0x100976ad8
// > ??> @ 0x1009793d0
// > ??> @ 0x100979970
// > ??> @ 0x100979f10
// > ??> @ 0x10097d138
// > ??> @ 0x100983b98
// > ??> @ 0x100984120
// > ??> @ 0x100985b40
// > ??> @ 0x100990dd0
// > ??> @ 0x100991418
// > ??> @ 0x100995758
//
// 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 *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
cocos2d::CCScriptEngineManager *v3; // rax
if ( a1->m_eScriptType == kScriptTypeNone )
return 1;
v3 = cocos2d::CCScriptEngineManager::sharedManager();
return (*(unsigned int (__fastcall **)(_QWORD, cocos2d::CCLayer *, _QWORD, cocos2d::CCTouch *))(**(_QWORD **)v3 + 120LL))(
*(_QWORD *)v3,
a1,
0,
a2) != 0;
}