//
// DialogLayer::ccTouchBegan from 0x9174a8 to 0x9174e0 (56 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'DialogLayer::ccTouchBegan @ 0x9174e4
// > ??> @ 0x398b8
// > ??> @ 0x11abc40
//
// 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 DialogLayer::ccTouchBegan(DialogLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
_BOOL8 v3; // x0
if ( a1->m_touchID == -1 )
{
a1->m_touchID = a2->m_nId;
DialogLayer::handleDialogTap(a1);
LOBYTE(v3) = 1;
}
else
{
return (char)&dword_0 + 1;
}
return v3;
}