// // ScrollableContentLayer::ensureScrollThumb from 0x100524a70 to 0x100524b34 (196 bytes) // // 3 xrefs: // > ScrollableContentLayer::setContentHeight @ 0x100524a5c // > ScrollableContentLayer::setViewSize @ 0x100524bb4 // > sub_100526440 @ 0x10052654c // // 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 11:07:14 +0000 // __int64 __fastcall ScrollableContentLayer::ensureScrollThumb(__int64 result) { __int64 v1; // x19 float v2; // s0 float v3; // s1 _WORD *v4; // x20 float v5[2]; // [xsp+4h] [xbp-1Ch] BYREF int v6; // [xsp+Ch] [xbp-14h] BYREF if ( (*(_BYTE *)(result + 584) & 1) == 0 ) { v1 = result; v2 = *(float *)(result + 432); v3 = *(float *)(result + 428); result = *(_QWORD *)(result + 488); if ( v2 <= v3 ) { if ( result ) { result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 520LL))(result); *(_QWORD *)(v1 + 488) = 0; } } else if ( !result ) { v6 = *(_DWORD *)(v1 + 496); v4 = cocos2d::CCLayerColor::create_1((__int64)&v6); *(_QWORD *)(v1 + 488) = v4; sub_1000262BC(v5, 1.0, 1.0); (*(void (__fastcall **)(_WORD *, float *))(*(_QWORD *)v4 + 296LL))(v4, v5); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 488) + 440LL))(*(_QWORD *)(v1 + 488), 0); return (*(__int64 (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v1 + 464LL))( v1, *(_QWORD *)(v1 + 488), 100); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source