// // cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel from 0x5e09d0 to 0x5e0ab8 (232 bytes) // // 2 xrefs: // > cocos2d::CCEGLViewProtocol::handleTouchesEnd @ 0x5e0ec4 // > cocos2d::CCEGLViewProtocol::handleTouchesCancel @ 0x5e0f2c // // 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::getSetOfTouchesEndOrCancel( cocos2d::CCEGLViewProtocol *a1, cocos2d::CCSet *a2, int a3, int *a4, float *a5, float *a6, double a7) { int i; // r6 float v12; // s17 intptr_t v13; // r11 float v14; // s16 cocos2d::CCObject *v15; // r0 int v16; // r1 int v17; // r5 unsigned int v18; // r3 cocos2d::CCObject *v21; // [sp+14h] [bp-8h] for ( i = 0; i < a3; ++i ) { v12 = *a5++; v13 = a4[i]; v14 = *a6++; v15 = cocos2d::CCDictionary::objectForKey(&stru_AC8F2C, v13); if ( v15 ) { v16 = (int)v15[1].__vftable; v21 = v15; v17 = *((_DWORD *)&stru_AC8F24 + v16 + 17); if ( !v17 ) return; cocos2d::CCTouch::setTouchInfo( *((cocos2d::CCTouch **)&stru_AC8F24 + v16 + 17), v16, COERCE_INT((float)(v12 - a1->m_obViewPortRect.origin.x) / a1->m_fScaleX), COERCE__BOOL4((float)(v14 - a1->m_obViewPortRect.origin.y) / a1->m_fScaleY)); *(double *)(v17 + 88) = a7; cocos2d::CCSet::addObject(a2, (cocos2d::CCObject *)v17); cocos2d::CCObject::release((cocos2d::CCObject *)v17); v18 = (unsigned int)v21[1].__vftable; *((_DWORD *)&stru_AC8F24 + v18 + 17) = 0; if ( v18 <= 4 ) dword_AC8F7C &= ~(1 << v18); cocos2d::CCDictionary::removeObjectForKey(&stru_AC8F2C, v13); } } cocos2d::CCSet::count(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source