//
// sub_1006FDC00 from 0x1006fdc00 to 0x1006fdc67 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b95e90
//
// 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:57 +0000
//
void __fastcall sub_1006FDC00(__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 == 2 )
{
if ( a3 )
CustomSongWidget::deleteSong(v4);
}
else if ( v5 == 1 )
{
if ( a3 )
{
v6 = GameManager::sharedState();
GameManager::setGameVariable(v6, "0016");
CustomSongWidget::onDownload(v4);
}
}
}