//
// DeathHistogram::handleTouchBegan from 0x7672c8 to 0x76733a (114 bytes)
//
// 1 xrefs:
// > DeathTrackerPopup::ccTouchBegan @ 0x770a6a
//
// 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:08 +0000
//
ScrollableContentLayer *__fastcall DeathHistogram::handleTouchBegan(
ScrollableContentLayer **this,
cocos2d::CCTouch *a2)
{
ScrollableContentLayer *v4; // r0
float v5; // r1
ScrollableContentLayer *result; // r0
_BYTE v7[8]; // [sp+4h] [bp+0h] BYREF
if ( *(this + 68) && a2 )
{
cocos2d::CCNode::convertTouchToNodeSpace((cocos2d::CCNode *)v7, (cocos2d::CCTouch *)this);
if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(this + 72), (const cocos2d::CCPoint *)v7) )
{
v4 = *(this + 68);
v5 = 0.0;
LABEL_7:
ScrollableContentLayer::scrollTo(v4, v5);
return (ScrollableContentLayer *)(&dword_0 + 1);
}
if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(this + 76), (const cocos2d::CCPoint *)v7) )
{
v4 = *(this + 68);
v5 = 1000000000.0;
goto LABEL_7;
}
}
result = *(this + 68);
if ( result )
return (ScrollableContentLayer *)ScrollableContentLayer::handleTouchBegan(result, a2);
return result;
}