//
// EditorSoundConfigInfoLayer::ccTouchBegan from 0x784960 to 0x7849e6 (134 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorSoundConfigInfoLayer::ccTouchBegan @ 0x7849f4
//
// 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:31 +0000
//
int __fastcall EditorSoundConfigInfoLayer::ccTouchBegan(int a1, cocos2d::CCTouch *a2, int a3)
{
_BYTE v7[8]; // [sp+Ch] [bp-30h] BYREF
float v8[2]; // [sp+14h] [bp-28h] BYREF
float v9[2]; // [sp+1Ch] [bp-20h] BYREF
_BYTE v10[16]; // [sp+24h] [bp-18h] BYREF
if ( *(_DWORD *)(a1 + 824) )
{
cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v7);
cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v8, *(const cocos2d::CCPoint **)(a1 + 824));
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v9, (const cocos2d::CCSize *)(*(_DWORD *)(a1 + 824) + 324));
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, v8[0], v8[1], v9[0], v9[1]);
if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v10, (const cocos2d::CCPoint *)v7) )
ScrollableContentLayer::handleTouchBegan(*(ScrollableContentLayer **)(a1 + 824), a2);
}
return SetupTriggerPopup::ccTouchBegan((_DWORD *)a1, (int)a2, a3);
}