//
// SongInfoObject::init from 0x45bbe8 to 0x45bcd6 (238 bytes)
//
// 1 xrefs:
// > SongInfoObject::create @ 0x45beec
//
// 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
//
bool __fastcall SongInfoObject::init(
int a1,
int a2,
int a3,
int a4,
int a5,
int a6,
int a7,
int a8,
int a9,
int a10,
int a11,
int a12,
char a13,
int a14,
int a15)
{
_BOOL4 v17; // r5
MusicDownloadManager *v18; // r0
_BYTE v22[4]; // [sp+10h] [bp-Ch] BYREF
v17 = cocos2d::CCNode::init((cocos2d::CCNode *)a1);
if ( v17 )
{
*(_DWORD *)(a1 + 264) = a2;
sub_775D40(a1 + 268, a3);
sub_775D40(a1 + 272, a4);
*(_DWORD *)(a1 + 292) = a5;
*(_DWORD *)(a1 + 296) = a6;
sub_775D40(a1 + 276, a7);
sub_775D40(a1 + 280, a8);
*(_DWORD *)(a1 + 312) = a15;
sub_775D40(a1 + 284, a9);
sub_775D40(a1 + 288, a10);
*(_DWORD *)(a1 + 300) = a11;
*(_BYTE *)(a1 + 324) = a13;
*(_DWORD *)(a1 + 328) = a14;
sub_775C20(v22);
SongInfoObject::updateArtists((_DWORD *)a1, (int)v22);
sub_774008(v22);
if ( *(_DWORD *)(a1 + 312) == -1 )
{
v18 = MusicDownloadManager::sharedState();
*(_DWORD *)(a1 + 312) = MusicDownloadManager::getSongPriority(v18);
}
}
return v17;
}