// // TableView::touchFinish from 0x1002ffbe8 to 0x1002ffca4 (188 bytes) // // 2 xrefs: // > TableView::ccTouchEnded @ 0x1002ffbb4 // > TableView::ccTouchCancelled @ 0x1002ffcd4 // // 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 // void __fastcall TableView::touchFinish(TableView *a1, cocos2d::CCTouch *a2) { cocos2d::CCDirector *v4; // x0 double *v5; // x0 TableViewCell *v6; // x0 TableViewDelegate *m_tableDelegate; // x8 double v8; // [xsp+0h] [xbp-20h] BYREF cocos2d::CCPoint v9; // [xsp+8h] [xbp-18h] BYREF cocos2d::CCTouch::getLocationInView(a2); v4 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::convertToGL(v4, &v9); sub_1000229D0(&v9, &v8); if ( a1->m_beginTouch == a2 ) { v6 = TableView::cellForTouch(a1, a2); a1->m_touchedCell = v6; if ( v6 ) { m_tableDelegate = a1->m_tableDelegate; if ( m_tableDelegate ) { if ( !a1->m_notAtEndOfScroll ) ((void (__fastcall *)(TableViewDelegate *, CCIndexPath *, TableView *))m_tableDelegate->didSelectRowAtIndexPath)( a1->m_tableDelegate, &v6->m_indexPath, a1); } } } sub_1000229D0(&a1->m_checkLocation, &dbl_10086DEB0); sub_1000229D0(&a1->m_beginLocation, v5); a1->m_touchMoved = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source