//
// SongInfoObject::create_1 from 0x140344730 to 0x1403448b0 (384 bytes)
//
// 8 xrefs:
// > CustomSongLayer::init @ 0x1400c37bc
// > CustomSongLayer::onSearch @ 0x1400c3c7d
// > CustomSongLayer::dropDownLayerWillClose @ 0x1400c4246
// > CustomSongLayer::musicBrowserClosed @ 0x1400c4316
// > SongSelectNode::onSongMode @ 0x1400c79d6
// > GJGameLevel::getSongName @ 0x14016d00b
// > LevelInfoLayer::init @ 0x1402f92db
// > ??> @ 0x1406d5894
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=6
SongInfoObject *SongInfoObject::create_1(int a1)
{
MusicDownloadManager *v2; // rax
SongInfoObject *result; // rax
char v4[8]; // [rsp+70h] [rbp-90h] BYREF
__int64 v5; // [rsp+78h] [rbp-88h]
__int64 v6; // [rsp+80h] [rbp-80h]
__int64 v7; // [rsp+88h] [rbp-78h]
__int128 v8; // [rsp+90h] [rbp-70h] BYREF
__int64 v9; // [rsp+A0h] [rbp-60h]
__int64 v10; // [rsp+A8h] [rbp-58h]
__int128 v11; // [rsp+B0h] [rbp-50h] BYREF
__int64 v12; // [rsp+C0h] [rbp-40h]
__int64 v13; // [rsp+C8h] [rbp-38h]
__int128 v14; // [rsp+D0h] [rbp-30h] BYREF
__int64 v15; // [rsp+E0h] [rbp-20h]
__int64 v16; // [rsp+E8h] [rbp-18h]
__int128 v17; // [rsp+F0h] [rbp-10h] BYREF
__int64 v18; // [rsp+100h] [rbp+0h]
__int64 v19; // [rsp+108h] [rbp+8h]
__int128 v20; // [rsp+110h] [rbp+10h] BYREF
__int64 v21; // [rsp+120h] [rbp+20h]
__int64 v22; // [rsp+128h] [rbp+28h]
__int128 v23; // [rsp+130h] [rbp+30h] BYREF
__int64 v24; // [rsp+140h] [rbp+40h]
__int64 v25; // [rsp+148h] [rbp+48h]
v2 = MusicDownloadManager::sharedState();
result = MusicDownloadManager::getSongInfoObject(v2, a1);
if ( !result )
{
v8 = 0;
v9 = 0;
v10 = 15;
LOBYTE(v8) = 0;
v11 = 0;
v12 = 0;
v13 = 15;
LOBYTE(v11) = 0;
v14 = 0;
v15 = 0;
v16 = 15;
LOBYTE(v14) = 0;
v17 = 0;
v18 = 0;
v19 = 15;
LOBYTE(v17) = 0;
v20 = 0;
v21 = 0;
v22 = 15;
LOBYTE(v20) = 0;
v23 = 0;
v24 = 0;
v25 = 15;
LOBYTE(v23) = 0;
v5 = 0;
v6 = 7;
v7 = 15;
strcpy(v4, "Unknown");
result = (SongInfoObject *)SongInfoObject::create(
a1,
(unsigned int)v4,
(unsigned int)&v23,
0,
0,
(__int64)&v20,
(__int64)&v17,
(__int64)&v14,
(__int64)&v11,
0,
(__int64)&v8,
0,
0,
-1);
result->m_unloaded = 1;
}
return result;
}