//
// SongUsagePopup::create from 0x140101d30 to 0x140101e7f (335 bytes)
//
// 3 xrefs:
// > CustomSongWidget::onUsage @ 0x14016ae16
// > SongInfoLayer::onSongUsage @ 0x140636818
// > ??> @ 0x14091589c
//
// 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:26:42 +0000
//
// Hidden C++ exception states: #wind=2
_QWORD *__fastcall SongUsagePopup::create(unsigned int a1, __int64 a2, __int64 a3)
{
_QWORD *v6; // r14
v6 = operator new(0x2E8u);
FLAlertLayer::FLAlertLayer((__int64)v6);
*v6 = &SongUsagePopup::`vftable';
v6[40] = &SongUsagePopup::`vftable';
v6[41] = &SongUsagePopup::`vftable';
v6[42] = &SongUsagePopup::`vftable';
v6[43] = &SongUsagePopup::`vftable';
v6[44] = &SongUsagePopup::`vftable';
v6[51] = &SongUsagePopup::`vftable';
v6[54] = &SongUsagePopup::`vftable';
v6[68] = &SongUsagePopup::`vftable';
v6[83] = &SongUsagePopup::`vftable';
*((_DWORD *)v6 + 168) = 0;
v6[85] = 0;
v6[86] = 0;
v6[87] = 0;
v6[88] = 0;
v6[89] = 0;
v6[90] = 0;
*((_DWORD *)v6 + 182) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)((char *)v6 + 732));
if ( (unsigned __int8)SongUsagePopup::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v6 + 8LL))(v6, 1);
return nullptr;
}
}