//
// sub_1006B8A70 from 0x1006b8a70 to 0x1006b8ad7 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b89d80
//
// 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:35:28 +0000
//
void __fastcall sub_1006B8A70(__int64 a1, __int64 a2, char a3)
{
__int64 v4; // rbx
int v5; // eax
__int64 v6; // rax
v4 = a1 - 328;
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( v5 == 3 )
{
if ( a3 )
CustomSFXWidget::deleteSFX(v4);
}
else if ( v5 == 1 )
{
if ( a3 )
{
v6 = GameManager::sharedState();
GameManager::setGameVariable(v6, "0016");
CustomSFXWidget::onDownload(v4);
}
}
}