// // ScrollingLayer::ccTouchMoved from 0x3e71b4 to 0x3e7286 (210 bytes) // // 1 xrefs: // > `non-virtual thunk to'ScrollingLayer::ccTouchMoved @ 0x3e7290 // // 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:47:05 +0000 // int __fastcall ScrollingLayer::ccTouchMoved(int a1) { const cocos2d::CCPoint *v2; // r8 cocos2d::CCDirector *LocationInView; // r0 const cocos2d::CCPoint *v4; // r0 int result; // r0 float v6; // s16 int v7; // r10 float v8; // s14 int v9; // r0 float v10; // s15 float v11; // s14 float v12[2]; // [sp+4h] [bp+0h] BYREF _BYTE v13[4]; // [sp+Ch] [bp+8h] BYREF float v14; // [sp+10h] [bp+Ch] _BYTE v15[8]; // [sp+14h] [bp+10h] BYREF v2 = (const cocos2d::CCPoint *)(a1 + 464); LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView((cocos2d::CCTouch *)v12); v4 = (const cocos2d::CCPoint *)cocos2d::CCDirector::sharedDirector(LocationInView); cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v15, v4); cocos2d::CCPoint::operator=(v12, v15); result = cocos2d::CCPoint::equals((cocos2d::CCPoint *)v12, v2); if ( !result ) { v6 = v12[1] - *(float *)(a1 + 468); v7 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 488) + 96))(*(_DWORD *)(a1 + 488)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, v6); cocos2d::CCPoint::operator+(v13, v7, v15); v8 = *(float *)(a1 + 476); v9 = *(_DWORD *)(a1 + 488); v10 = v14; if ( v8 >= v14 ) v10 = *(float *)(a1 + 476); v11 = v8 + *(float *)(a1 + 480); if ( v11 <= v10 ) v10 = v11; v14 = v10; (*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v9 + 92))(v9, v13); return cocos2d::CCPoint::operator=(v2, v12); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source