//
// sub_100621480 from 0x100621480 to 0x1006214e7 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x100982300
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_100621480(__int64 a1, __int64 a2, char a3)
{
CustomSongWidget *v4; // rbx
int v5; // eax
GameManager *v6; // rax
v4 = (CustomSongWidget *)(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", 1);
CustomSongWidget::onDownload(v4, (cocos2d::CCObject *)"0016");
}
}
}