//
// SFXFolderPickerPopup::updateActionBtn from 0x1400c5fa0 to 0x1400c6008 (104 bytes)
//
// 5 xrefs:
// > SFXFolderPickerPopup::init @ 0x1400c4d8c
// > SFXFolderPickerPopup::refreshList @ 0x1400c5de8
// > ??> @ 0x140890778
// > ??> @ 0x140890788
// > ??> @ 0x140913d0c
//
// 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
//
void __fastcall SFXFolderPickerPopup::updateActionBtn(__int64 a1, __int64 a2)
{
__int64 v3; // rcx
int v4; // edi
__int64 v5; // rcx
const char *v6; // rbx
__int64 v7; // rax
v3 = *(_QWORD *)(a1 + 744);
if ( v3 )
{
v4 = *(_DWORD *)(a1 + 712);
LOBYTE(a2) = v4 > 0;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 936LL))(v3, a2);
v5 = *(_QWORD *)(a1 + 744);
v6 = "GJ_button_04.png";
if ( v4 > 0 )
v6 = "GJ_button_01.png";
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 952LL))(v5);
ButtonSprite::updateBGImage(v7, v6);
}
}