//
// SongInfoObject::create_1 from 0x100664460 to 0x1006644e6 (134 bytes)
//
// 10 xrefs:
// > CustomSongLayer::init @ 0x1001f8d93
// > CustomSongLayer::onSearch @ 0x1001f9168
// > CustomSongLayer::dropDownLayerWillClose @ 0x1001f994d
// > sub_1001F9970 @ 0x1001f99a4
// > CustomSongLayer::musicBrowserClosed @ 0x1001f99fd
// > sub_1001F9A20 @ 0x1001f9a54
// > SongSelectNode::onSongMode @ 0x1001fcbf5
// > LevelInfoLayer::init @ 0x1002abb89
// > GJGameLevel::getSongName @ 0x1005843fd
// > AudioAssetsPopup::init @ 0x1008b395b
//
// 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:34:57 +0000
//
__int64 __fastcall SongInfoObject::create_1(unsigned int a1)
{
__int64 v1; // rax
__int64 result; // rax
__int128 v3; // [rsp+8h] [rbp-68h] BYREF
__int128 v4; // [rsp+20h] [rbp-50h] BYREF
__int128 v5; // [rsp+38h] [rbp-38h] BYREF
__int128 v6[2]; // [rsp+50h] [rbp-20h] BYREF
v1 = MusicDownloadManager::sharedState();
result = MusicDownloadManager::getSongInfoObject(v1, a1);
if ( !result )
{
LOBYTE(v6[0]) = 14;
strcpy((char *)v6 + 1, "Unknown");
LOWORD(v3) = 0;
LOWORD(v4) = 0;
LOWORD(v5) = 0;
result = (__int64)SongInfoObject::create(a1, v6, &v3, 0, &v4, 0, 0.0, &v5, 0, 0, -1);
*(_BYTE *)(result + 432) = 1;
}
return result;
}