// // cocos2d::CCScrollLayer::ccTouchMoved from 0x694154 to 0x6942b0 (348 bytes) // // 3 xrefs: // > `non-virtual thunk to'cocos2d::CCScrollLayer::ccTouchMoved @ 0x6942b4 // > @ 0xed508 // > @ 0x14180b8 // // 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 12:50:36 +0000 // __int64 __fastcall cocos2d::CCScrollLayer::ccTouchMoved(float *a1, cocos2d::CCTouch *this) { cocos2d::CCDirector *PreviousLocationInView; // x0 cocos2d::CCDirector *v4; // x0 cocos2d::CCDirector *v5; // x0 cocos2d::CCDirector *v6; // x0 const cocos2d::CCPoint *v7; // x0 __int64 v10; // [xsp+50h] [xbp+50h] BYREF __int64 v11; // [xsp+58h] [xbp+58h] BYREF _BYTE v12[4]; // [xsp+60h] [xbp+60h] BYREF float v13; // [xsp+64h] [xbp+64h] float v14; // [xsp+68h] [xbp+68h] BYREF float v15; // [xsp+6Ch] [xbp+6Ch] __int64 v16; // [xsp+70h] [xbp+70h] BYREF cocos2d::CCTouch::getLocationInView(&v10, this); PreviousLocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getPreviousLocationInView(&v11, this); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(PreviousLocationInView); cocos2d::CCDirector::convertToGL(&v16, v4, (const cocos2d::CCPoint *)&v10); v5 = (cocos2d::CCDirector *)((__int64 (__fastcall *)(__int64 *, __int64 *))cocos2d::CCPoint::operator=)(&v10, &v16); v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::convertToGL(&v16, v6, (const cocos2d::CCPoint *)&v11); cocos2d::CCPoint::operator=(&v11, &v16); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v12, *(float *)&v10 - *(float *)&v11, *((float *)&v10 + 1) - *((float *)&v11 + 1)); v7 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(float *))(*(_QWORD *)a1 + 192LL))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, v7); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, v14, v15 + v13); cocos2d::CCPoint::operator=(&v14, &v16); if ( v15 > a1[108] ) { v15 = a1[108]; } else if ( v15 < 0.0 ) { v15 = 0.0; } (*(void (__fastcall **)(float *, float *))(*(_QWORD *)a1 + 184LL))(a1, &v14); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source