//
// CustomSFXWidget::downloadSFXFailed from 0x10038d9b0 to 0x10038d9ec (60 bytes)
//
// 2 xrefs:
// > sub_10038DA9C @ 0x10038daa0
// > ??> @ 0x10093f3a8
//
// 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 11:03:36 +0000
//
__int64 __fastcall CustomSFXWidget::downloadSFXFailed(__int64 result, int a2)
{
int v2; // w8
__int64 v4; // x19
v2 = *(_DWORD *)(result + 496);
if ( v2 == a2 && v2 != 0 )
{
v4 = result;
sub_10038D9EC();
return sub_10038D908(v4);
}
return result;
}