// // ScrollableContentLayer::scrollWheel from 0x6e1984 to 0x6e1b1c (408 bytes) // // 3 xrefs: // > `non-virtual thunk to'ScrollableContentLayer::scrollWheel @ 0x6e1b20 // > @ 0xc8950 // > @ 0x1425058 // // 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:39 +0000 // __int64 __fastcall ScrollableContentLayer::scrollWheel(ScrollableContentLayer *this, float a2, float a3) { unsigned int v5; // w19 __int64 v7; // x19 float v8; // s0 cocos2d::CCDirector *v9; // x0 cocos2d::CCDirector *v10; // x19 cocos2d::CCDirector *v11; // x24 unsigned __int8 v12; // w0 float v13; // s8 __int64 v14; // [xsp+58h] [xbp+58h] BYREF __int64 v15; // [xsp+60h] [xbp+60h] BYREF _QWORD v16[2]; // [xsp+68h] [xbp+68h] BYREF if ( (*(unsigned __int8 (__fastcall **)(ScrollableContentLayer *, float, float))(*(_QWORD *)this + 352LL))( this, a2, a3) ) { v7 = (*(__int64 (__fastcall **)(ScrollableContentLayer *))(*(_QWORD *)this + 512LL))(this); if ( v7 ) { while ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v7 + 352LL))(v7) ) { v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 512LL))(v7); if ( !v7 ) goto LABEL_9; } } else { LABEL_9: v8 = *((float *)this + 106); if ( !*((_BYTE *)this + 584) ) v8 = *((float *)this + 107); if ( *((float *)this + 108) > v8 ) { v9 = (cocos2d::CCDirector *)cocos2d::CCEGLView::sharedOpenGLView((cocos2d::CCEGLView *)*((unsigned __int8 *)this + 584)); v10 = v9; if ( v9 ) { v11 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v9); (*(void (__fastcall **)(_QWORD *__return_ptr, cocos2d::CCDirector *))(*(_QWORD *)v10 + 184LL))(v16, v10); cocos2d::CCDirector::convertToGL(&v14, v11, (const cocos2d::CCPoint *)v16); cocos2d::CCNode::convertToNodeSpace(&v15, this, (const cocos2d::CCPoint *)&v14); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v16, 0.0, 0.0, *((float *)this + 106), *((float *)this + 107)); v12 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v16, (const cocos2d::CCPoint *)&v15); v5 = v12; if ( v12 ) { cocos2d::CCNode::unscheduleUpdate(this); v13 = *((float *)this + 119) + (float)(a2 * 2.0); *((_DWORD *)this + 118) = 0; *((float *)this + 119) = v13; cocos2d::CCNode::scheduleUpdate(this); return v5; } } } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source