// // cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel from 0x18006d8b0 to 0x18006da4e (414 bytes) // // 4 xrefs: // > cocos2d::CCEGLViewProtocol::handleTouchesCancel @ 0x18006de4c // > cocos2d::CCEGLViewProtocol::handleTouchesEnd @ 0x18006deec // > @ 0x18014cf68 // > @ 0x1801be14c // // 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:21:55 +0000 // void __fastcall cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel( cocos2d::CCEGLViewProtocol *this, struct cocos2d::CCSet *a2, int a3, char *a4, float *const a5, float *const a6, double a7) { cocos2d::CCSet *v7; // rbx float *v8; // r15 float *v9; // rdi __int64 v10; // rsi signed __int64 v11; // r12 __int64 v12; // r14 float v13; // xmm6_4 float v14; // xmm7_4 struct cocos2d::CCObject *v15; // rax struct cocos2d::CCObject *v16; // rbp __int64 v17; // rax __int64 v18; // rbx float v19; // xmm7_4 float v20; // xmm6_4 bool v21; // zf __int64 v22; // rcx __int64 v23; // [rsp+20h] [rbp-78h] v7 = a2; v8 = (float *)this; if ( a3 > 0 ) { v9 = a6; v10 = 0; v11 = a4 - (char *)a6; v23 = a3; do { v12 = *(int *)((char *)v9 + v11); v13 = *(float *)((char *)v9 + (char *)a5 - (char *)a6); v14 = *v9; v15 = cocos2d::CCDictionary::objectForKey((cocos2d::CCDictionary *)&unk_1801B2470, v12); v16 = v15; if ( v15 ) { v17 = *((int *)v15 + 14); v18 = qword_1801B24C0[v17]; if ( !v18 ) return; v19 = (float)(v14 - v8[9]) / v8[26]; v20 = (float)(v13 - v8[8]) / v8[25]; *(_DWORD *)(v18 + 56) = v17; cocos2d::CCSize::operator=((_DWORD *)(v18 + 80), (_DWORD *)(v18 + 72)); v21 = *(_BYTE *)(v18 + 60) == 0; *(float *)(v18 + 72) = v20; *(float *)(v18 + 76) = v19; if ( v21 ) { cocos2d::CCSize::operator=((_DWORD *)(v18 + 64), (_DWORD *)(v18 + 72)); *(_BYTE *)(v18 + 60) = 1; } *(double *)(v18 + 88) = a7; cocos2d::CCSet::addObject(a2, (struct cocos2d::CCObject *)v18); cocos2d::CCObject::release((cocos2d::CCObject *)v18); v22 = *((int *)v16 + 14); qword_1801B24C0[v22] = 0; if ( (unsigned int)v22 <= 4 ) dword_1801B24E8 &= ~(1 << v22); cocos2d::CCDictionary::removeObjectForKey((cocos2d::CCDictionary *)&unk_1801B2470, v12); v8 = (float *)this; } ++v10; ++v9; } while ( v10 < v23 ); v7 = a2; } cocos2d::CCSet::count(v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source