//
// sub_10096CEC0 from 0x10096cec0 to 0x10096cf10 (80 bytes)
//
// 6 xrefs:
// > MemberListPopup::init @ 0x10094172b
// > InvitesPopup::init @ 0x10094bcfc
// > ReportQueuePopup::init @ 0x100968d91
// > SFXFolderPickerPopup::init @ 0x1009720b8
// > sub_10097D570 @ 0x10097d672
// > sub_1009948B0 @ 0x100994e4f
//
// This function is hookable on this platform (idp: pc, 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:38:51 +0000
//
__int64 __fastcall sub_10096CEC0(__int64 a1, float a2)
{
__int64 v3; // rdi
__int64 result; // rax
if ( a2 > 0.0 && *(float *)(a1 + 520) <= 0.0 )
{
v3 = *(_QWORD *)(a1 + 416);
if ( v3 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 496LL))(v3);
result = ScrollableContentLayer::ensureOwnedContentNode(a1);
}
*(float *)(a1 + 520) = a2;
return result;
}