//
// CustomSFXWidget::downloadSFXFinished from 0x6a654c to 0x6a6572 (38 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CustomSFXWidget::downloadSFXFinished @ 0x6a657c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:30 +0000
//
FMODAudioEngine *__fastcall CustomSFXWidget::downloadSFXFinished(CustomSFXWidget *this, int a2)
{
FMODAudioEngine *result; // r0
GameManager *v4; // r0
result = (FMODAudioEngine *)CustomSFXWidget::verifySFXID(this, a2);
if ( result )
{
v4 = (GameManager *)GameManager::sharedState(result);
result = (FMODAudioEngine *)GameManager::getGameVariable(v4, "0143");
if ( !result )
return CustomSFXWidget::onPlayback(this, nullptr);
}
return result;
}