// // cocos2d::CCScrollLayer::ccTouchMoved from 0x3c7ec0 to 0x3c7fb0 (240 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::CCScrollLayer::ccTouchMoved @ 0x3c7fb8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:46:35 +0000 // int __fastcall cocos2d::CCScrollLayer::ccTouchMoved(float *a1) { cocos2d::CCDirector *PreviousLocationInView; // r0 const cocos2d::CCPoint *v3; // r0 cocos2d::CCDirector *v4; // r0 const cocos2d::CCPoint *v5; // r0 const cocos2d::CCPoint *v6; // r0 float v8[2]; // [sp+4h] [bp-8h] BYREF float v9[2]; // [sp+Ch] [bp+0h] BYREF _BYTE v10[4]; // [sp+14h] [bp+8h] BYREF float v11; // [sp+18h] [bp+Ch] float v12; // [sp+1Ch] [bp+10h] BYREF float v13; // [sp+20h] [bp+14h] _BYTE v14[8]; // [sp+24h] [bp+18h] BYREF cocos2d::CCTouch::getLocationInView((cocos2d::CCTouch *)v8); PreviousLocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getPreviousLocationInView((cocos2d::CCTouch *)v9); v3 = (const cocos2d::CCPoint *)cocos2d::CCDirector::sharedDirector(PreviousLocationInView); cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v14, v3); v4 = (cocos2d::CCDirector *)cocos2d::CCPoint::operator=(v8, v14); v5 = (const cocos2d::CCPoint *)cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v14, v5); cocos2d::CCPoint::operator=(v9, v14); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, v8[0] - v9[0], v8[1] - v9[1]); v6 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(float *))(*(_DWORD *)a1 + 96))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, v6); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, v12, v13 + v11); cocos2d::CCPoint::operator=(&v12, v14); if ( v13 <= a1[86] ) { if ( v13 < 0.0 ) v13 = 0.0; } else { v13 = a1[86]; } return (*(int (__fastcall **)(float *, float *))(*(_DWORD *)a1 + 92))(a1, &v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source