//
// SFXBrowser::onChangelog from 0x10042e410 to 0x10042e4f4 (228 bytes)
//
// 1 xrefs:
// > SFXBrowser::init @ 0x10042cf31
//
// 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:30:21 +0000
//
void __fastcall SFXBrowser::onChangelog(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // r14
__int64 v3; // rax
char *v4; // rax
__int128 v5; // [rsp+0h] [rbp-40h] BYREF
void *__p; // [rsp+10h] [rbp-30h]
__int128 v7; // [rsp+18h] [rbp-28h] BYREF
void *v8; // [rsp+28h] [rbp-18h]
v1 = MusicDownloadManager::sharedState(a1);
v2 = *(_QWORD *)(v1 + 416);
if ( v2 && (unsigned int)sub_1007FEF90(*(_QWORD *)(v1 + 416)) )
{
v3 = SFXChangelogPopup::create(v2);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
}
else
{
v8 = operator new(0x1Au);
*(_QWORD *)&v7 = 27;
*((_QWORD *)&v7 + 1) = 23;
strcpy((char *)v8, "No changelog available.");
LOWORD(v5) = 0;
v4 = TextAlertPopup::create(&v7, 0x96u, &v5, 1.0, 0.5);
(*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v4, 100);
if ( (v5 & 1) != 0 )
operator delete(__p);
if ( (v7 & 1) != 0 )
operator delete(v8);
}
}