//
// SongUsagePopup::songUsageFailed from 0x1009772a0 to 0x10097734f (175 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bd0b98
//
// 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:38:55 +0000
//
void __fastcall SongUsagePopup::songUsageFailed(__int64 a1, int a2)
{
__int64 v3; // rdi
void *v4; // r14
__int16 v5; // [rsp-1Ch] [rbp-1Ch] BYREF
char v6; // [rsp-1Ah] [rbp-1Ah]
if ( *(_DWORD *)(a1 + 672) == a2 )
{
v3 = *(_QWORD *)(a1 + 680);
if ( v3 )
LoadingCircle::fadeAndRemove(v3);
v4 = cocos2d::CCLabelBMFont::create_3((__int64)"Failed to load info", (__int64)"chatFont.fnt");
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v4 + 160LL))(v4, 0.80000001);
v6 = 0;
v5 = 0;
(*(void (__fastcall **)(void *, __int16 *))(*(_QWORD *)v4 + 1072LL))(v4, &v5);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v4 + 1024LL))(v4, 150);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v4 + 184LL))(v4, a1 + 732);
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v4);
}
}