// // ScrollableContentLayer::updateVirtualRows from 0x3f5fd0 to 0x3f6160 (400 bytes) // // 1 xrefs: // > ScrollableContentLayer::applyContentPosition @ 0x3f61c4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:47:17 +0000 // void __fastcall ScrollableContentLayer::updateVirtualRows(ScrollableContentLayer *this, int a2) { float *v3; // r3 int v4; // r5 int v5; // r1 float *v6; // r6 float v7; // s14 int v8; // r2 float v9; // s15 float v10; // s13 float v11; // s12 float v12; // s15 float *v13; // r9 int v14; // r6 int v15; // r5 float *v16; // r12 int v17; // r5 int v18; // r3 int v19; // r5 int v20; // r2 int v21; // r8 int i; // r8 int v23[2]; // [sp+0h] [bp-8h] BYREF v23[0] = (int)this; v23[1] = a2; if ( *((_DWORD *)this + 112) ) { if ( !*((_BYTE *)this + 496) ) { v3 = *((float **)this + 116); v4 = *((_DWORD *)this + 117); v5 = (v4 - (int)v3) >> 2; if ( v5 - 1 > 0 ) { v6 = v3 + 1; v7 = *((float *)this + 81); v8 = (v4 - (int)(v3 + 1)) >> 2; v9 = *((float *)this + 84); v10 = *((float *)this + 113); if ( !*((_BYTE *)this + 444) ) v7 = *((float *)this + 82); v11 = v9 - v10; v12 = (float)(v9 + v7) + v10; while ( v8 ) { v13 = &v6[v8 / 2]; if ( v11 < *v13 ) { v8 /= 2; } else { v6 = v13 + 1; v8 += ~(v8 / 2); } } v14 = v6 - (v3 + 1); v15 = (v4 - 4 - (int)v3) >> 2; while ( v15 ) { v16 = &v3[v15 / 2]; if ( *v16 >= v12 ) { v15 /= 2; } else { v3 = v16 + 1; v15 += ~(v15 / 2); } } v17 = (int)v3 - *((_DWORD *)this + 116); if ( v5 - 1 <= v14 ) v14 = v5 - 2; v18 = *((_DWORD *)this + 122); v19 = (v17 >> 2) - 1; if ( v19 < v14 ) v19 = v14; if ( v14 != v18 || v19 != *((_DWORD *)this + 123) ) { v20 = 1; *((_BYTE *)this + 496) = 1; if ( v18 >= 0 && (v19 < v18 || v14 > *((_DWORD *)this + 123)) ) ScrollableContentLayer::unmountAllRows(this, v5, 1); v21 = *((_DWORD *)this + 122); if ( v21 >= 0 ) { while ( v21 < v14 ) ScrollableContentLayer::unmountRowSlot(this, v21++, v20); for ( i = *((_DWORD *)this + 123); i > v19; --i ) ScrollableContentLayer::unmountRowSlot(this, i, v20); } for ( v23[0] = v14; v23[0] <= v19; ++v23[0] ) { if ( (_DWORD *)((char *)this + 480) == std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::find( (int)this + 476, v23) ) ScrollableContentLayer::mountRowSlot(this, v23[0]); } *((_DWORD *)this + 122) = v14; *((_DWORD *)this + 123) = v19; *((_BYTE *)this + 496) = 0; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source