//
// ScrollableContentLayer::mountedVirtualRow from 0x6e2a00 to 0x6e2a58 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0xf6a30
//
// 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:40 +0000
//
__int64 __fastcall ScrollableContentLayer::mountedVirtualRow(ScrollableContentLayer *this, int a2)
{
char *v2; // x4
__int64 result; // x0
__int64 v4; // x3
v2 = (char *)this + 648;
result = *((_QWORD *)this + 81);
if ( !result )
return 0;
v4 = (__int64)v2;
do
{
while ( *(_DWORD *)(result + 32) >= a2 )
{
v4 = result;
result = *(_QWORD *)result;
if ( !result )
goto LABEL_5;
}
result = *(_QWORD *)(result + 8);
}
while ( result );
LABEL_5:
if ( v2 == (char *)v4 )
return 0;
if ( *(_DWORD *)(v4 + 32) <= a2 )
return *(_QWORD *)(v4 + 40);
return result;
}