//
// SongInfoLayer::create from 0x53c3f4 to 0x53c5ac (440 bytes)
//
// 1 xrefs:
// > CustomSongWidget::onMore @ 0x4e2392
//
// 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:15 +0000
//
int __fastcall SongInfoLayer::create(SongInfoLayer *this, SongInfoObject *a2)
{
int v3; // r3
int *v4; // r8
int *v5; // r7
int v6; // r4
int v8; // [sp+18h] [bp-Ch]
void *v9[3]; // [sp+24h] [bp+0h] BYREF
void *v10[3]; // [sp+30h] [bp+Ch] BYREF
_BYTE v11[12]; // [sp+3Ch] [bp+18h] BYREF
int v12[3]; // [sp+48h] [bp+24h] BYREF
int v13[3]; // [sp+54h] [bp+30h] BYREF
int v14[3]; // [sp+60h] [bp+3Ch] BYREF
int v15[3]; // [sp+6Ch] [bp+48h] BYREF
int v16[3]; // [sp+78h] [bp+54h] BYREF
_BYTE v17[12]; // [sp+84h] [bp+60h] BYREF
void *v18[3]; // [sp+90h] [bp+6Ch] BYREF
void *v19[3]; // [sp+9Ch] [bp+78h] BYREF
int v20[3]; // [sp+A8h] [bp+84h] BYREF
SongInfoObject::getSongLinks((SongInfoObject *)v9);
SongInfoObject::getArtistLinks((SongInfoObject *)v10);
SongInfoObject::getTagsString((SongInfoObject *)v11, (bool)this);
v3 = *((_DWORD *)this + 78);
if ( v3 == 2 )
{
v4 = v12;
memset(v12, 0, sizeof(v12));
std::string::__init(v12, "https://www.youtube.com/@CHOMPOCHOMPO", 0x25u);
memset(v13, 0, sizeof(v13));
v5 = v13;
std::string::__init(v13, "Chompo YT", 9u);
sub_53B0D8((unsigned int *)v10, (unsigned __int8 *)v12, (unsigned __int8 *)v13);
LABEL_5:
std::string::~string((int)v5);
std::string::~string((int)v4);
goto LABEL_6;
}
if ( v3 == 1 )
{
v4 = v14;
memset(v14, 0, sizeof(v14));
std::string::__init(v14, "https://www.youtube.com/@NoCopyrightSounds", 0x2Au);
memset(v15, 0, sizeof(v15));
v5 = v15;
std::string::__init(v15, "NCS YT", 6u);
sub_53B0D8((unsigned int *)v10, (unsigned __int8 *)v14, (unsigned __int8 *)v15);
goto LABEL_5;
}
LABEL_6:
std::string::basic_string(v16, (int)this + 268);
SongInfoObject::getArtistNames((SongInfoObject *)v17, (int)this);
std::vector::vector(v18, (const GJLinkObject **)v9);
std::vector::vector(v19, (const GJLinkObject **)v10);
v8 = *((_DWORD *)this + 66);
std::string::basic_string(v20, (int)v11);
v6 = SongInfoLayer::create(
(int)v16,
(int)v17,
(const GJLinkObject **)v18,
(const GJLinkObject **)v19,
v8,
(int)v20,
*((_DWORD *)this + 78));
std::string::~string((int)v20);
std::__vector_base::~__vector_base(v19);
std::__vector_base::~__vector_base(v18);
std::string::~string((int)v17);
std::string::~string((int)v16);
std::string::~string((int)v11);
std::__vector_base::~__vector_base(v10);
std::__vector_base::~__vector_base(v9);
return v6;
}