// // cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel from 0xd7add0 to 0xd7af68 (408 bytes) // // 3 xrefs: // > cocos2d::CCEGLViewProtocol::handleTouchesEnd @ 0xd7b640 // > cocos2d::CCEGLViewProtocol::handleTouchesCancel @ 0xd7b6f4 // > @ 0xe1af0 // // 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:08:06 +0000 // float *__fastcall cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel( cocos2d::CCEGLViewProtocol *this, cocos2d::CCSet *a2, int a3, int *a4, float *a5, float *a6, double a7) { __int64 v11; // x19 float v12; // s9 float v13; // s8 __int64 v14; // x23 __int64 v15; // x0 __int64 v16; // x20 int v17; // w3 __int64 v18; // x28 float *result; // x0 float v20; // s9 float v21; // s8 float v22; // s1 float v23; // s0 float v24; // s9 float v25; // s8 int v26; // w0 unsigned int v27; // w3 __int64 v29; // [xsp+90h] [xbp+90h] if ( a3 > 0 ) { v11 = 0; v29 = (unsigned int)(a3 - 1) + 1LL; do { v12 = a5[v11]; v13 = a6[v11]; v14 = a4[v11++]; v15 = cocos2d::CCDictionary::objectForKey((cocos2d::CCDictionary *)&unk_1560658, v14); v16 = v15; if ( v15 ) { v17 = *(_DWORD *)(v15 + 56); v18 = qword_15606A0[v17]; result = (float *)(v18 + 80); if ( !v18 ) return result; v20 = v12 - *((float *)this + 8); v21 = v13 - *((float *)this + 9); v22 = *((float *)this + 25); v23 = *((float *)this + 26); *(_DWORD *)(v18 + 56) = v17; v24 = v20 / v22; v25 = v21 / v23; cocos2d::CCPoint::operator=(result, (float *)(v18 + 72)); v26 = *(unsigned __int8 *)(v18 + 60); *(float *)(v18 + 72) = v24; *(float *)(v18 + 76) = v25; if ( !v26 ) { cocos2d::CCPoint::operator=((float *)(v18 + 64), (float *)(v18 + 72)); *(_BYTE *)(v18 + 60) = 1; } *(double *)(v18 + 88) = a7; cocos2d::CCSet::addObject(a2, (cocos2d::CCObject *)v18); cocos2d::CCObject::release((_DWORD *)v18); v27 = *(_DWORD *)(v16 + 56); qword_15606A0[v27] = 0; if ( v27 <= 4 ) dword_15606C8 &= ~(1 << v27); cocos2d::CCDictionary::removeObjectForKey((cocos2d::CCDictionary *)&unk_1560658, v14); } } while ( v11 != v29 ); } return (float *)cocos2d::CCSet::count(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source