//
// ScrollableContentLayer::setSectionHeight from 0x6e61ac to 0x6e621c (112 bytes)
//
// 7 xrefs:
// > SFXFolderPickerPopup::init @ 0xc3cc70
// > AccountReviewPopup::init @ 0xc44dcc
// > ReportQueuePopup::init @ 0xc4fffc
// > AutoBackupPopup::init @ 0xc5d28c
// > MemberListPopup::init @ 0xc6ad44
// > InvitesPopup::init @ 0xc6c650
// > ??> @ 0x79420
//
// 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
//
long double __fastcall ScrollableContentLayer::setSectionHeight(ScrollableContentLayer *this, long double result)
{
__int64 v3; // x0
long double v4; // [xsp+20h] [xbp+20h]
long double v5; // [xsp+20h] [xbp+20h]
if ( *(float *)&result > 0.0 && *((float *)this + 130) <= 0.0 )
{
v3 = *((_QWORD *)this + 52);
if ( v3 )
{
v4 = result;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 496LL))(v3);
result = v4;
}
v5 = result;
ScrollableContentLayer::ensureOwnedContentNode(this);
*((_DWORD *)this + 130) = LODWORD(v5);
return v5;
}
else
{
*((_DWORD *)this + 130) = LODWORD(result);
}
return result;
}