// // TableView::cellForTouch from 0x69645c to 0x696648 (492 bytes) // // 2 xrefs: // > TableView::touchFinish @ 0x6970ec // > @ 0x66598 // // 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 12:50:37 +0000 // cocos2d::CCNode *__fastcall TableView::cellForTouch(TableView *this, cocos2d::CCTouch *a2) { cocos2d::CCDirector *LocationInView; // x0 cocos2d::CCDirector *v4; // x0 cocos2d::CCArray *v5; // x0 unsigned int v6; // w20 cocos2d::CCNode *v7; // x0 cocos2d::CCNode *v8; // x19 float v9; // s9 float v10; // s8 float v11; // s9 float v12; // s8 __int64 v13; // x0 float v15; // [xsp+60h] [xbp+60h] float v16; // [xsp+70h] [xbp+70h] float v17; // [xsp+80h] [xbp+80h] __int64 v18; // [xsp+98h] [xbp+98h] BYREF char v19[8]; // [xsp+A0h] [xbp+A0h] BYREF __int64 v20[2]; // [xsp+A8h] [xbp+A8h] BYREF LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView(&v18, a2); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(LocationInView); cocos2d::CCDirector::convertToGL(v20, v4, (const cocos2d::CCPoint *)&v18); cocos2d::CCPoint::operator=(&v18, v20); v5 = *((cocos2d::CCArray **)this + 74); if ( !v5 ) return nullptr; if ( !(unsigned int)cocos2d::CCArray::count(v5) ) return nullptr; v6 = 0; if ( !(unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 74)) ) return nullptr; while ( 1 ) { v7 = (cocos2d::CCNode *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 74), v6); v8 = v7; if ( v7 ) { cocos2d::CCNode::convertToNodeSpace(v7, (const cocos2d::CCPoint *)&v18); v9 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 192LL))(v8); v10 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 328LL))(v8); v15 = v9 - (float)(v10 * *(float *)(*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 304LL))(v8)); v11 = *(float *)((*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 192LL))(v8) + 4); v12 = *(float *)((*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 328LL))(v8) + 4); v16 = v11 - (float)(v12 * *(float *)((*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 304LL))(v8) + 4)); v17 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 328LL))(v8); v13 = (*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 328LL))(v8); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v20, v15, v16, v17, *(float *)(v13 + 4)); cocos2d::CCPoint::operator=(v20, &unk_155A978); if ( (unsigned __int8)cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v20, (const cocos2d::CCPoint *)v19) ) break; } if ( ++v6 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 74)) ) return nullptr; } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source