//
// ScrollableContentLayer::remountVirtualRow from 0x6e538c to 0x6e540c (128 bytes)
//
// 1 xrefs:
// > ??> @ 0xe9b78
//
// 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
//
ScrollableContentLayer *__fastcall ScrollableContentLayer::remountVirtualRow(ScrollableContentLayer *this, int a2)
{
__int64 *v2; // x2
_QWORD *v3; // x4
ScrollableContentLayer *v5; // x20
v2 = *((__int64 **)this + 81);
if ( v2 )
{
v3 = (_QWORD *)((char *)this + 648);
do
{
while ( *((_DWORD *)v2 + 8) >= a2 )
{
v3 = v2;
v2 = (__int64 *)*v2;
if ( !v2 )
goto LABEL_5;
}
v2 = (__int64 *)v2[1];
}
while ( v2 );
LABEL_5:
if ( (_QWORD *)((char *)this + 648) != v3 && *((_DWORD *)v3 + 8) <= a2 )
{
v5 = this;
ScrollableContentLayer::unmountRowSlot(this, a2);
return (ScrollableContentLayer *)ScrollableContentLayer::mountRowSlot(v5, a2);
}
}
return this;
}