//
// SetupSFXPopup::onBrowseSFX from 0xb6c20c to 0xb6c278 (108 bytes)
//
// 3 xrefs:
// > ??> @ 0xfba88
// > SetupSFXPopup::init @ 0xb6ed90
// > ??> @ 0x1547a70
//
// 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 13:02:18 +0000
//
__int64 __fastcall SetupSFXPopup::onBrowseSFX(SetupSFXPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
unsigned int v4; // w20
float v5; // s0
int v6; // w2
__int64 *v7; // x0
__int64 v8; // x2
v3 = *((_QWORD *)this + 131);
if ( v3 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 536LL))(v3);
*((_QWORD *)this + 131) = 0;
}
v4 = *((_DWORD *)this + 260);
v5 = (*(float (__fastcall **)(SetupSFXPopup *, __int64))(*(_QWORD *)this + 1464LL))(this, 601);
v7 = (__int64 *)SFXBrowser::create((SFXBrowser *)v4, (int)v5, v6);
v8 = *v7;
v7[140] = (__int64)this + 1032;
return (*(__int64 (**)(void))(v8 + 1312))();
}