//
// CustomSongWidget::onUsage from 0x14016adb0 to 0x14016ae53 (163 bytes)
//
// 2 xrefs:
// > CustomSongWidget::init @ 0x140169abe
// > ??> @ 0x1409180b0
//
// 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 11:27:28 +0000
//
// Hidden C++ exception states: #wind=2
void __fastcall CustomSongWidget::onUsage(__int64 a1)
{
__int64 v2; // rdx
_QWORD *v3; // rax
_BYTE v4[32]; // [rsp+28h] [rbp-50h] BYREF
_BYTE v5[32]; // [rsp+48h] [rbp-30h] BYREF
v2 = *(_QWORD *)(a1 + 336);
if ( v2 )
{
sub_14003F4F0((__int64)v5, v2 + 360);
sub_14003F4F0((__int64)v4, *(_QWORD *)(a1 + 336) + 328LL);
v3 = SongUsagePopup::create(*(_DWORD *)(*(_QWORD *)(a1 + 336) + 320LL), (__int64)v4, (__int64)v5);
(*(void (__fastcall **)(_QWORD *))(*v3 + 1064LL))(v3);
sub_14003D310((__int64)v4);
sub_14003D310((__int64)v5);
}
}