// // cocos2d::extension::CCTableView::ccTouchBegan from 0xd1abb4 to 0xd1ad08 (340 bytes) // // 3 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCTableView::ccTouchBegan @ 0xd1ad0c // > @ 0xa7d10 // > @ 0x150f420 // // This function is hookable on this platform (idp: arm, 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 13:07:08 +0000 // __int64 __fastcall cocos2d::extension::CCTableView::ccTouchBegan(__int64 a1, cocos2d::CCObject *a2) { __int64 result; // x0 unsigned int v5; // w20 __int64 v6; // x0 cocos2d::CCNode *Container; // x0 unsigned int v8; // w1 __int64 v9; // x0 __int64 v10; // x2 __int64 v11; // x0 _BYTE v12[8]; // [xsp+58h] [xbp+58h] BYREF __int64 v13; // [xsp+60h] [xbp+60h] BYREF result = (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1); if ( !(_BYTE)result ) return result; v5 = (unsigned __int8)cocos2d::extension::CCScrollView::ccTouchBegan(a1, a2); if ( (unsigned int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 496)) == 1 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12); Container = (cocos2d::CCNode *)cocos2d::extension::CCScrollView::getContainer((cocos2d::extension::CCScrollView *)a1); cocos2d::CCNode::convertTouchToNodeSpace(&v13, Container, a2); cocos2d::CCPoint::operator=(v12, &v13); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, (const cocos2d::CCPoint *)v12); v8 = cocos2d::extension::CCTableView::_indexFromOffset(a1, (float *)&v13); if ( v8 == -1 ) { *(_QWORD *)(a1 + 576) = 0; return v5; } v9 = cocos2d::extension::CCTableView::cellAtIndex((cocos2d::extension::CCTableView *)a1, v8); *(_QWORD *)(a1 + 576) = v9; v10 = v9; if ( v9 ) { v11 = *(_QWORD *)(a1 + 648); if ( v11 ) (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v11 + 40LL))(v11, a1, v10); } return v5; } if ( !*(_QWORD *)(a1 + 576) ) return v5; v6 = *(_QWORD *)(a1 + 648); if ( v6 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 48LL))(v6, a1); *(_QWORD *)(a1 + 576) = 0; return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source