//
// CustomSongWidget::updateSongObject from 0x100120430 to 0x10012049c (108 bytes)
//
// 6 xrefs:
// > CustomSongWidget::init @ 0x10011f4c8
// > CustomSongWidget::loadSongInfoFinished @ 0x1001228f0
// > CustomSongLayer::onSearch @ 0x1001c3338
// > CustomSongLayer::dropDownLayerWillClose @ 0x1001c3750
// > CustomSongLayer::musicBrowserClosed @ 0x1001c37b8
// > SongSelectNode::onSongMode @ 0x1001c6344
//
// 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 10:59:15 +0000
//
__int64 __fastcall CustomSongWidget::updateSongObject(__int64 a1, __int64 a2)
{
__int64 v4; // x0
__int64 v5; // x8
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 376) + 344LL))(*(_QWORD *)(a1 + 376), 0);
v4 = *(_QWORD *)(a1 + 480);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, 0);
sub_10011F53C(a1, a2);
v5 = *(_QWORD *)(a1 + 336);
if ( v5 )
LODWORD(v5) = *(_DWORD *)(v5 + 316);
*(_DWORD *)(a1 + 504) = v5;
return CustomSongWidget::updateSongInfo(a1);
}