// // DeathHistogram::handleTouchBegan from 0x140114970 to 0x140114a39 (201 bytes) // // 2 xrefs: // > DeathTrackerPopup::ccTouchBegan @ 0x14010ea5b // > @ 0x140915e84 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:26:51 +0000 // char __fastcall DeathHistogram::handleTouchBegan(_QWORD *a1, __int64 a2) { __int64 v4; // rcx __int64 v5; // rcx __int64 v7; // rcx char v8; // [rsp+30h] [rbp+8h] BYREF if ( a1[41] && a2 ) { cocos2d::CCNode::convertTouchToNodeSpace(a1, &v8, a2); if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)((char *)a1 + 356), (const struct cocos2d::CCPoint *)&v8) ) { v4 = a1[41]; *(_DWORD *)(v4 + 436) = 0; LABEL_5: *(_DWORD *)(v4 + 476) = 0; ScrollableContentLayer::clampOffset(v4); ScrollableContentLayer::applyContentPosition(v5); return 1; } if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)((char *)a1 + 372), (const struct cocos2d::CCPoint *)&v8) ) { v4 = a1[41]; *(_DWORD *)(v4 + 436) = 1315859240; goto LABEL_5; } } v7 = a1[41]; if ( v7 ) return ScrollableContentLayer::handleTouchBegan(v7, a2); else return 0; }