// // TableView::ccTouchMoved from 0x1400884d0 to 0x140088790 (704 bytes) // // 3 xrefs: // > @ 0x1407145c0 // > @ 0x140912614 // > @ 0x140912620 // // 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:25:58 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall TableView::ccTouchMoved(__int64 a1, struct cocos2d::CCObject *a2, __int64 a3) { __int64 v6; // rax __int64 v7; // rax __int64 v8; // rax __int64 v9; // rbx float v10; // xmm0_4 __int64 v11; // rcx __int64 v12; // rcx __int64 v13; // rax __int64 v14; // rax cocos2d::CCSet *v15; // rbx __int64 v16; // rcx __int64 v17; // rax __int64 v18; // rax __int64 v19; // rcx __int64 v20; // rax cocos2d::CCTouchDispatcher *v21; // rax cocos2d::CCTargetedTouchHandler *Handler; // rbx cocos2d::CCSet *ClaimedTouches; // rax cocos2d::CCSet *v24; // rax _DWORD v25[4]; // [rsp+20h] [rbp-10h] BYREF char v26; // [rsp+70h] [rbp+40h] BYREF float v27; // [rsp+74h] [rbp+44h] cocos2d::CCSet *v28; // [rsp+78h] [rbp+48h] BYREF char v29; // [rsp+88h] [rbp+58h] BYREF *(_BYTE *)(a1 + 128) = 1; cocos2d::CCTouch::getLocationInView(a2, &v29); v6 = ((__int64 (*)(void))cocos2d::CCDirector::sharedDirector)(); v7 = cocos2d::CCDirector::convertToGL(v6, &v28, &v29); cocos2d::CCPoint::operator=(&v29, v7); if ( a2 == *(struct cocos2d::CCObject **)(a1 + 96) ) { cocos2d::CCPoint::operator-(&v29, v25, a1 + 104); if ( *(_BYTE *)(a1 + 172) ) { v25[1] = 0; } else if ( *(_BYTE *)(a1 + 171) ) { v25[0] = 0; } v8 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 160) + 200LL))(*(_QWORD *)(a1 + 160)); cocos2d::CCPoint::operator+(v8, &v28, v25); v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 320) + 320LL))(a1 - 320); v10 = (float)((float)(*(float *)(v9 + 4) - *(float *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 160) + 320LL))(*(_QWORD *)(a1 + 160)) + 4)) - *(float *)(a1 + 176)) - *(float *)(a1 + 184); if ( v10 <= *((float *)&v28 + 1) ) { if ( *((float *)&v28 + 1) > (float)(*(float *)(a1 + 188) + *(float *)(a1 + 180)) ) *((float *)&v28 + 1) = *(float *)(a1 + 188) + *(float *)(a1 + 180); } else { *((float *)&v28 + 1) = v10; } (*(void (__fastcall **)(_QWORD, cocos2d::CCSet **))(**(_QWORD **)(a1 + 160) + 184LL))(*(_QWORD *)(a1 + 160), &v28); *(_BYTE *)(a1 + 129) = 1; cocos2d::CCPoint::operator=(a1 + 104, &v29); v11 = *(_QWORD *)(a1 + 152); if ( v11 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 16LL))(v11, a1 - 320); } *(_BYTE *)(a1 + 256) = 1; cocos2d::CCTouch::getLocationInView(a2, &v26); v13 = cocos2d::CCDirector::sharedDirector(v12); v14 = cocos2d::CCDirector::convertToGL(v13, &v28, &v26); cocos2d::CCPoint::operator=(&v26, v14); if ( a2 == *(struct cocos2d::CCObject **)(a1 + 216) ) { cocos2d::CCPoint::operator-(&v26, &v28, a1 + 240); cocos2d::CCPoint::operator=(a1 + 240, &v26); } if ( fabs(v27 - *(float *)(a1 + 332)) >= 10.0 ) { *(float *)(a1 + 332) = v27; v15 = (cocos2d::CCSet *)operator new(0x40u); v28 = v15; cocos2d::CCSet::CCSet(v15); *(_QWORD *)v15 = &cocos2d::CCSet::`vftable'; cocos2d::CCSet::addObject(v15, a2); cocos2d::CCObject::autorelease(v15); *(_BYTE *)(a1 + 336) = 1; v17 = cocos2d::CCDirector::sharedDirector(v16); v18 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v17 + 144LL))(v17); (*(void (__fastcall **)(__int64, cocos2d::CCSet *, __int64))(*(_QWORD *)(v18 + 56) + 24LL))(v18 + 56, v15, a3); *(_BYTE *)(a1 + 336) = 0; v20 = cocos2d::CCDirector::sharedDirector(v19); v21 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v20 + 144LL))(v20); Handler = cocos2d::CCTouchDispatcher::findHandler(v21, (struct cocos2d::CCTouchDelegate *)a1); ClaimedTouches = cocos2d::CCTargetedTouchHandler::getClaimedTouches(Handler); if ( !cocos2d::CCSet::containsObject(ClaimedTouches, a2) ) { v24 = cocos2d::CCTargetedTouchHandler::getClaimedTouches(Handler); cocos2d::CCSet::addObject(v24, a2); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source