//
// ScrollableContentLayer::setVirtualRows from 0x3f6a7c to 0x3f6ae6 (106 bytes)
//
// 6 xrefs:
// > FriendsProfilePage::init @ 0x5f44a2
// > FriendPickerPopup::init @ 0x74a08a
// > ThreadViewPopup::init @ 0x75c842
// > DeathTrackerPopup::buildHistory @ 0x7733c6
// > DeathTrackerPopup::buildList @ 0x7737f0
// > IDNameBrowserPopup::init @ 0x792acc
//
// 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::setVirtualRows(ScrollableContentLayer *a1, int a2, int a3, int a4, int a5)
{
int v9; // r1
int v10; // r2
int v11; // s15
int v12; // r2
int v13; // r3
ScrollableContentLayer::ensureOwnedContentNode(a1, a2, a3, a4);
ScrollableContentLayer::unmountAllRows(a1, v9, v10);
v11 = 0;
v12 = *((_DWORD *)a1 + 116);
*((_DWORD *)a1 + 112) = a2;
*((_DWORD *)a1 + 114) = a4;
if ( *(float *)&a3 >= 0.0 )
v11 = a3;
*((_DWORD *)a1 + 115) = a5;
*((_DWORD *)a1 + 113) = v11;
while ( 1 )
{
v13 = *((_DWORD *)a1 + 117);
if ( v12 == v13 )
break;
*((_DWORD *)a1 + 117) = v13 - 4;
}
if ( a2 )
ScrollableContentLayer::reloadVirtualRows(a1, -1.0, v12);
}