//
// SFXFolderPickerPopup::refreshList from 0x1400c5da0 to 0x1400c5dff (95 bytes)
//
// 4 xrefs:
// > SFXFolderPickerPopup::onPickFolder @ 0x1400c6311
// > SFXFolderPickerPopup::onSelectAll @ 0x1400c676c
// > SFXFolderPickerPopup::setTextPopupClosed @ 0x1400c6831
// > ??> @ 0x140913cf4
//
// 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 11:26:20 +0000
//
__int64 __fastcall SFXFolderPickerPopup::refreshList(__int64 a1, __int64 a2)
{
int v3; // xmm6_4
__int64 v4; // rcx
__int64 v5; // rcx
v3 = *(_DWORD *)(*(_QWORD *)(a1 + 736) + 436LL);
SFXFolderPickerPopup::rebuildList(a1, a2);
v4 = *(_QWORD *)(a1 + 736);
*(_DWORD *)(v4 + 436) = v3;
*(_DWORD *)(v4 + 476) = 0;
ScrollableContentLayer::clampOffset(v4);
ScrollableContentLayer::applyContentPosition(v5);
SFXFolderPickerPopup::updateActionBtn(a1);
return SFXFolderPickerPopup::updateShareHint(a1);
}