// // ScrollableContentLayer::ensureScrollThumb from 0x6e1cb8 to 0x6e1dcc (276 bytes) // // 4 xrefs: // > ScrollableContentLayer::setContentHeight @ 0x6e5a70 // > ScrollableContentLayer::setViewSize @ 0x6e5ac0 // > ScrollableContentLayer::reloadVirtualRows @ 0x6e632c // > @ 0xd8130 // // 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::ensureScrollThumb(ScrollableContentLayer *this) { float v2; // s1 __int64 v3; // x0 char v5; // w2 char v6; // w4 char v7; // w1 __int64 v8; // x22 void (__fastcall *v9)(__int64, _BYTE *); // x23 _BYTE v10[8]; // [xsp+40h] [xbp+40h] BYREF if ( !*((_BYTE *)this + 584) ) { v2 = *((float *)this + 108); v3 = *((_QWORD *)this + 61); if ( v2 > *((float *)this + 107) ) { if ( !v3 ) { v5 = *((_BYTE *)this + 498); v6 = *((_BYTE *)this + 496); v7 = *((_BYTE *)this + 499); v10[1] = *((_BYTE *)this + 497); v10[0] = v6; v10[2] = v5; v10[3] = v7; v8 = cocos2d::CCLayerColor::create(v10); *((_QWORD *)this + 61) = v8; v9 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v8 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 1.0, 1.0); v9(v8, v10); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 61) + 440LL))(*((_QWORD *)this + 61), 0); (*(void (__fastcall **)(ScrollableContentLayer *, _QWORD, __int64))(*(_QWORD *)this + 464LL))( this, *((_QWORD *)this + 61), 100); } } else if ( v3 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 520LL))(v3); *((_QWORD *)this + 61) = 0; } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source