//
// SongSelectNode::getSongFileName from 0x45e3c4 to 0x45e42c (104 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SongSelectNode::getSongFileName @ 0x45e434
//
// 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
//
SongSelectNode *__fastcall SongSelectNode::getSongFileName(SongSelectNode *this, int a2)
{
MusicDownloadManager *v4; // r0
char *v6; // [sp+8h] [bp-Ch] BYREF
if ( *(_DWORD *)(a2 + 276) )
{
v4 = MusicDownloadManager::sharedState();
MusicDownloadManager::pathForSong((MusicDownloadManager *)&v6, v4, *(_DWORD *)(a2 + 276));
sub_776584((int)this, v6);
sub_774008(&v6);
}
else
{
GJGameLevel::getAudioFileName((GJGameLevel *)this, *(_DWORD *)(*(_DWORD *)(a2 + 320) + 320));
}
return this;
}