//
// SongInfoObject::create from 0x577790 to 0x577880 (240 bytes)
//
// 8 xrefs:
// > LevelInfoLayer::init @ 0x49e4c2
// > GJGameLevel::getSongName @ 0x4ca69a
// > CustomSongLayer::dropDownLayerWillClose @ 0x57b008
// > CustomSongLayer::musicBrowserClosed @ 0x57b048
// > SongSelectNode::onSongMode @ 0x57bb6e
// > CustomSongLayer::init @ 0x57cacc
// > CustomSongLayer::onSearch @ 0x57ceb2
// > AudioAssetsPopup::init @ 0x7610d8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:43 +0000
//
cocos2d::CCDictionary *__fastcall SongInfoObject::create(SongInfoObject *this, int a2)
{
MusicDownloadManager *v3; // r0
cocos2d::CCDictionary *SongInfoObject; // r4
int v6[3]; // [sp+24h] [bp-34h] BYREF
int v7[3]; // [sp+30h] [bp-28h] BYREF
int v8[3]; // [sp+3Ch] [bp-1Ch] BYREF
int v9[3]; // [sp+48h] [bp-10h] BYREF
v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);
SongInfoObject = MusicDownloadManager::getSongInfoObject(v3, (const char *)this);
if ( !SongInfoObject )
{
memset(v6, 0, sizeof(v6));
std::string::__init(v6, "Unknown", 7u);
memset(v7, 0, sizeof(v7));
std::string::__init(v7, &unk_B6B226, 0);
memset(v8, 0, sizeof(v8));
std::string::__init(v8, &unk_B6B226, 0);
memset(v9, 0, sizeof(v9));
std::string::__init(v9, &unk_B6B226, 0);
SongInfoObject = (cocos2d::CCDictionary *)SongInfoObject::create(
(int)this,
(int)v6,
(int)v7,
0,
0,
(int)v8,
0,
(int)v9,
0,
0,
-1);
std::string::~string((int)v9);
std::string::~string((int)v8);
std::string::~string((int)v7);
std::string::~string((int)v6);
*((_BYTE *)SongInfoObject + 328) = 1;
}
return SongInfoObject;
}