// // ScrollingLayer::ccTouchMoved from 0x6c9758 to 0x6c98b0 (344 bytes) // // 3 xrefs: // > `non-virtual thunk to'ScrollingLayer::ccTouchMoved @ 0x6c98b4 // > @ 0xba820 // > @ 0x1422fa8 // // 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:51:22 +0000 // __int64 __fastcall ScrollingLayer::ccTouchMoved(__int64 a1, cocos2d::CCTouch *this) { cocos2d::CCDirector *LocationInView; // x0 cocos2d::CCDirector *v4; // x0 __int64 v6; // x25 float v7; // s0 float v8; // s1 float v9; // s0 __int64 v10; // x2 float v11; // [xsp+50h] [xbp+50h] __int64 v12; // [xsp+60h] [xbp+60h] BYREF __int64 v13; // [xsp+68h] [xbp+68h] BYREF __int64 v14; // [xsp+70h] [xbp+70h] BYREF LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView(&v12, this); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(LocationInView); cocos2d::CCDirector::convertToGL(&v14, v4, (const cocos2d::CCPoint *)&v12); cocos2d::CCPoint::operator=(&v12, &v14); if ( !(unsigned __int8)cocos2d::CCPoint::equals((cocos2d::CCPoint *)&v12, (const cocos2d::CCPoint *)(a1 + 568)) ) { v11 = *((float *)&v12 + 1) - *(float *)(a1 + 572); v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 592) + 192LL))(*(_QWORD *)(a1 + 592)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, 0.0, v11); cocos2d::CCPoint::operator+(&v13, v6); v7 = *(float *)(a1 + 580); v8 = *((float *)&v13 + 1); if ( v7 >= *((float *)&v13 + 1) ) { v8 = *(float *)(a1 + 580); v9 = v7 + *(float *)(a1 + 584); if ( v8 < v9 ) goto LABEL_6; } else { v9 = v7 + *(float *)(a1 + 584); if ( *((float *)&v13 + 1) < v9 ) { LABEL_6: v10 = *(_QWORD *)(a1 + 592); *((float *)&v13 + 1) = v8; (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 184LL))(v10, &v13); cocos2d::CCPoint::operator=(a1 + 568, &v12); return _stack_chk_guard; } } v8 = v9; goto LABEL_6; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source