//
// MusicBrowser::updateViewItems from 0xb841a0 to 0xb84288 (232 bytes)
//
// 2 xrefs:
// > MusicBrowser::setupList @ 0xb85444
// > ??> @ 0x787a8
//
// 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 13:02:29 +0000
//
__int64 __fastcall MusicBrowser::updateViewItems(__int64 this)
{
__int64 v1; // x19
ButtonSprite *v2; // x0
const char *v3; // x1
ButtonSprite *v4; // x0
const char *v5; // x1
ButtonSprite *v6; // x0
const char *v7; // x1
if ( *(_QWORD *)(this + 712) )
{
v1 = this;
v2 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(this + 832) + 1072LL))(*(_QWORD *)(this + 832));
v3 = *(_DWORD *)(*(_QWORD *)(v1 + 712) + 140LL) == 1 ? "GJ_button_02.png" : "GJ_button_01.png";
ButtonSprite::updateBGImage(v2, v3);
v4 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 840) + 1072LL))(*(_QWORD *)(v1 + 840));
v5 = *(_DWORD *)(*(_QWORD *)(v1 + 712) + 140LL) == 2 ? "GJ_button_02.png" : "GJ_button_01.png";
ButtonSprite::updateBGImage(v4, v5);
this = *(_QWORD *)(v1 + 848);
if ( this )
{
v6 = (ButtonSprite *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)this + 1072LL))(this);
if ( *(_DWORD *)(*(_QWORD *)(v1 + 712) + 140LL) == 3 )
v7 = "GJ_button_02.png";
else
v7 = "GJ_button_01.png";
return ButtonSprite::updateBGImage(v6, v7);
}
}
return this;
}