//
// LevelTools::getSongObject from 0x32c3ac to 0x32c50c (352 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x3b533a
//
// 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
//
SongInfoObject *LevelTools::getSongObject(int a1)
{
SongInfoObject *v2; // r11
std::string v4; // [sp+2Ch] [bp-58h]
LevelTools v5; // [sp+58h] [bp-2Ch] BYREF
LevelTools v6; // [sp+5Ch] [bp-28h] BYREF
_BYTE v7[4]; // [sp+60h] [bp-24h] BYREF
_BYTE v8[4]; // [sp+64h] [bp-20h] BYREF
_BYTE v9[4]; // [sp+68h] [bp-1Ch] BYREF
_BYTE v10[4]; // [sp+6Ch] [bp-18h] BYREF
_BYTE v11[4]; // [sp+70h] [bp-14h] BYREF
_BYTE v12[4]; // [sp+74h] [bp-10h] BYREF
_BYTE v13[4]; // [sp+78h] [bp-Ch] BYREF
LevelTools::getAudioTitle(&v5, a1);
v4.m_data.m_data = (stl::StringData::Internal *)LevelTools::artistForAudio(a1);
LevelTools::nameForArtist(&v6, (int)v4.m_data.m_data);
sub_775C20(v7, &v5);
sub_775C20(v8, &v6);
sub_776584((int)v9, (char *)&unk_939830);
sub_776584((int)v10, (char *)&unk_939830);
sub_776584((int)v11, (char *)&unk_939830);
sub_776584((int)v12, (char *)&unk_939830);
sub_776584((int)v13, (char *)&unk_939830);
v2 = (SongInfoObject *)((SongInfoObject *(__fastcall *)(SongInfoObject *__hidden, int, std::string, std::string, int, float, std::string, std::string, std::string, std::string, int, std::string, bool, int))SongInfoObject::create)(
(SongInfoObject *)a1,
(int)v7,
(std::string)v8,
v4,
0,
COERCE_FLOAT(v9),
(std::string)v10,
(std::string)v11,
(std::string)v12,
0,
(int)v13,
0,
0,
-1);
sub_774008(v13);
sub_774008(v12);
sub_774008(v11);
sub_774008(v10);
sub_774008(v9);
sub_774008(v8);
sub_774008(v7);
sub_774008(&v6);
sub_774008(&v5);
return v2;
}