// // ScrollableContentLayer::updateVirtualRows from 0x6e540c to 0x6e569c (656 bytes) // // 2 xrefs: // > ScrollableContentLayer::applyContentPosition @ 0x6e5718 // > @ 0xcfd60 // // 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:43 +0000 // void __fastcall ScrollableContentLayer::updateVirtualRows(ScrollableContentLayer *this) { __int64 v1; // x4 __int64 v2; // x2 __int64 v3; // x10 __int64 v4; // x8 int v5; // w9 float v6; // s0 float v7; // s1 float v8; // s2 float *v9; // x21 __int64 v10; // x19 float v11; // s0 unsigned __int64 v12; // x3 __int64 v13; // x6 float *v14; // x7 __int64 v15; // x1 unsigned __int64 v16; // x1 __int64 v17; // x5 unsigned __int64 v18; // x1 int i; // w21 __int64 v20; // x2 unsigned __int64 v21; // x2 __int64 v22; // x1 int v23; // w8 signed int v24; // w20 int v25; // w19 int v27; // w1 int v28; // w19 int v29; // w1 char **v30; // x23 signed int j; // w19 char *v32; // x1 char **v33; // x3 if ( *((_QWORD *)this + 74) ) { if ( !*((_BYTE *)this + 672) ) { v1 = *((_QWORD *)this + 77); v2 = *((_QWORD *)this + 78); v3 = v1; v4 = (v2 - v1) >> 2; v5 = v4 - 1; if ( (int)v4 - 1 > 0 ) { v6 = *((float *)this + 109); v7 = *((float *)this + 150); v8 = v6 - v7; v9 = (float *)(v1 + 4); v10 = (v2 - (v1 + 4)) >> 2; if ( *((_BYTE *)this + 584) ) v11 = v7 + (float)(v6 + *((float *)this + 106)); else v11 = v7 + (float)(v6 + *((float *)this + 107)); while ( v10 ) { v12 = v10 / 2; v13 = v10 / 2; v14 = &v9[v10 / 2]; if ( v8 < *v14 ) { v10 /= 2; v15 = v12 + (v12 >> 63); if ( !v12 ) break; while ( 1 ) { v16 = v15 >> 1; v13 = v16; v14 = &v9[v16]; if ( v8 >= *v14 ) break; v10 = v16; v15 = v16 + (v16 >> 63); if ( !v10 ) goto LABEL_11; } } v9 = v14 + 1; v10 += ~v13; } LABEL_11: v17 = ((__int64)v9 - v1 - 4) >> 2; v18 = (v2 - 4 - v1) >> 2; for ( i = v17; v18; v18 += ~v21 ) { v20 = v18 + (v18 >> 63); while ( 1 ) { v21 = v20 >> 1; if ( v11 > *(float *)(v1 + 4 * v21) ) break; v18 = v21; v20 = v21 + (v21 >> 63); if ( !v18 ) goto LABEL_15; } v1 += 4 * v21 + 4; } LABEL_15: v22 = (v1 - v3) >> 2; v23 = v4 - 2; if ( v5 <= (int)v17 ) i = v23; v24 = v22 - 1; v25 = *((_DWORD *)this + 166); if ( i >= (int)v22 - 1 ) v24 = i; if ( v25 != i || *((_DWORD *)this + 167) != v24 ) { *((_BYTE *)this + 672) = 1; if ( (v25 & 0x80000000) == 0 ) { if ( v25 <= v24 && i <= *((_DWORD *)this + 167) || (ScrollableContentLayer::unmountAllRows(this), v25 = *((_DWORD *)this + 166), (v25 & 0x80000000) == 0) ) { if ( i > v25 ) { do { v27 = v25++; ScrollableContentLayer::unmountRowSlot(this, v27); } while ( v25 != i ); } v28 = *((_DWORD *)this + 167); if ( v28 > v24 ) { do { v29 = v28--; ScrollableContentLayer::unmountRowSlot(this, v29); } while ( v28 != v24 ); } } } v30 = (char **)((char *)this + 648); for ( j = i; v24 >= j; ++j ) { v32 = *v30; if ( *v30 ) { v33 = (char **)((char *)this + 648); do { while ( j <= *((_DWORD *)v32 + 8) ) { v33 = (char **)v32; v32 = *(char **)v32; if ( !v32 ) goto LABEL_33; } v32 = *((char **)v32 + 1); } while ( v32 ); LABEL_33: if ( v33 != v30 && j >= *((_DWORD *)v33 + 8) ) continue; } ScrollableContentLayer::mountRowSlot(this, j); } *((_DWORD *)this + 166) = i; *((_DWORD *)this + 167) = v24; *((_BYTE *)this + 672) = 0; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source