//
// SetupSFXPopup::onBrowseSFX from 0x1004b2ea0 to 0x1004b2f0c (108 bytes)
//
// 1 xrefs:
// > SetupSFXPopup::init @ 0x1004b2af9
//
// 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:30:59 +0000
//
__int64 __fastcall SetupSFXPopup::onBrowseSFX(__int64 a1)
{
__int64 v2; // rdi
unsigned int v3; // r14d
float v4; // xmm0_4
_QWORD *v5; // rax
v2 = *(_QWORD *)(a1 + 1048);
if ( v2 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 536LL))(v2);
*(_QWORD *)(a1 + 1048) = 0;
}
v3 = *(_DWORD *)(a1 + 1040);
v4 = (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1464LL))(a1, 601);
v5 = SFXBrowser::create(v3, (int)v4);
v5[140] = a1 + 1032;
return (*(__int64 (__fastcall **)(_QWORD *))(*v5 + 1312LL))(v5);
}