//
// CustomSFXWidget::downloadSFXFinished from 0x10038d958 to 0x10038d9a8 (80 bytes)
//
// 2 xrefs:
// > sub_10038D9A8 @ 0x10038d9ac
// > ??> @ 0x10093f3a0
//
// 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
//
void __fastcall CustomSFXWidget::downloadSFXFinished(__int64 a1, int a2)
{
int v2; // w8
__int64 v5; // x0
char v6; // w0
v2 = *(_DWORD *)(a1 + 496);
if ( v2 == a2 && v2 != 0 )
{
v5 = GameManager::sharedState(a1);
GameManager::getGameVariable(v5, "0143");
if ( (v6 & 1) == 0 )
CustomSFXWidget::onPlayback(a1);
}
}