// // cocos2d::CCEGLViewProtocol::handleTouchesMove from 0xb0a604 to 0xb0a7c4 (448 bytes) // // 3 xrefs: // > @ 0x77e80 // > @ 0x1217cd8 // > @ 0x1217dc8 // // 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 cocos2d::CCEGLViewProtocol::handleTouchesMove( cocos2d::CCEGLViewProtocol *a1, int a2, int *a3, float *a4, float *a5, double a6) { __int64 v11; // x19 __int64 v12; // x28 float v13; // s9 float v14; // s8 cocos2d::CCObject *v15; // x0 int v16; // w4 __int64 v17; // x27 float v18; // s9 float v19; // s8 float m_fScaleX; // s1 float m_fScaleY; // s0 float v22; // s9 float v23; // s8 float v24; // s0 float v25; // s1 int v26; // w0 cocos2d::CCSet v28; // [xsp+98h] [xbp+98h] BYREF cocos2d::CCSet::CCSet(&v28); if ( a2 > 0 ) { v11 = (unsigned int)(a2 - 1) + 1LL; v12 = 0; do { while ( 1 ) { v13 = a4[v12]; v14 = a5[v12]; v15 = cocos2d::CCDictionary::objectForKey(&stru_12456B8, a3[v12]); if ( v15 ) { v16 = (int)v15[1].__vftable; v17 = qword_1245700[v16]; if ( !v17 ) goto LABEL_12; if ( v14 != 0.0 || v13 != 0.0 ) break; } if ( ++v12 == v11 ) goto LABEL_11; } v18 = v13 - a1->m_obViewPortRect.origin.x; v19 = v14 - a1->m_obViewPortRect.origin.y; m_fScaleX = a1->m_fScaleX; m_fScaleY = a1->m_fScaleY; *(_DWORD *)(v17 + 56) = v16; v22 = v18 / m_fScaleX; v23 = v19 / m_fScaleY; cocos2d::CCPoint::operator=((cocos2d::CCPoint *)(v17 + 80), m_fScaleY, m_fScaleX, (float *)(v17 + 72)); v26 = *(unsigned __int8 *)(v17 + 60); *(float *)(v17 + 72) = v22; *(float *)(v17 + 76) = v23; if ( !v26 ) { cocos2d::CCPoint::operator=((cocos2d::CCPoint *)(v17 + 64), v24, v25, (float *)(v17 + 72)); *(_BYTE *)(v17 + 60) = 1; } *(double *)(v17 + 88) = a6; ++v12; cocos2d::CCSet::addObject(&v28, (cocos2d::CCObject *)v17); } while ( v12 != v11 ); } LABEL_11: if ( cocos2d::CCSet::count(&v28) ) { a1->m_pDelegate->touchesMoved(a1->m_pDelegate, &v28, nullptr); cocos2d::CCSet::~CCSet(&v28); } else { LABEL_12: cocos2d::CCSet::~CCSet(&v28); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source