//
// sub_1006B7310 from 0x1006b7310 to 0x1006b7360 (80 bytes)
//
// 1 xrefs:
// > CustomSFXWidget::init @ 0x1006b5f03
//
// 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:27 +0000
//
__int64 __fastcall sub_1006B7310(__int64 a1, __m128 a2)
{
__int64 result; // rax
int v3; // r14d
__int64 v4; // rax
__int64 v5; // rcx
result = *(_QWORD *)(a1 + 336);
if ( result )
{
v3 = *(_DWORD *)(result + 76);
v4 = MusicDownloadManager::sharedState();
v5 = *(_QWORD *)(a1 + 336);
if ( v3 <= 0 )
sub_100650690(v4, *(_DWORD *)(v5 + 56), a2);
else
sub_100650820(v4, *(_DWORD *)(v5 + 76), a2);
return CustomSFXWidget::updateSFXInfo(a1);
}
return result;
}