//
// CustomSongWidget::getSongInfoIfUnloaded from 0x86c324 to 0x86c404 (224 bytes)
//
// 4 xrefs:
// > CustomSongLayer::onSearch @ 0x97f464
// > CustomSongLayer::init @ 0x98122c
// > AudioAssetsPopup::init @ 0xc8e528
// > ??> @ 0xe2150
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:55:43 +0000
//
__int64 __fastcall CustomSongWidget::getSongInfoIfUnloaded(CustomSongWidget *this)
{
__int64 v2; // x0
__int64 *v3; // x0
char v5; // [xsp+20h] [xbp+20h] BYREF
_DWORD v6[2]; // [xsp+21h] [xbp+21h] BYREF
char v7; // [xsp+29h] [xbp+29h]
__int16 v8; // [xsp+2Ah] [xbp+2Ah]
int v9; // [xsp+2Ch] [xbp+2Ch]
void *v10; // [xsp+30h] [xbp+30h]
v2 = *((_QWORD *)this + 42);
if ( v2 && *(_BYTE *)(v2 + 432) )
{
v3 = (__int64 *)(v2 + 320);
v7 = 0;
v8 = 0;
v9 = 0;
strcpy((char *)v6, "Loading");
v10 = nullptr;
v5 = 14;
if ( v3 != (__int64 *)&v5 )
{
std::string::assign(v3, v6, 7u);
if ( (v5 & 1) != 0 )
operator delete(v10);
}
CustomSongWidget::updateSongInfo(this);
CustomSongWidget::onGetSongInfo((__int64)this, nullptr);
}
return _stack_chk_guard;
}