//
// CustomMusicCell::updateBGColor from 0x738a04 to 0x738a90 (140 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x74d30c
// > ??> @ 0xd8a48
//
// 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:52:40 +0000
//
__int64 __fastcall CustomMusicCell::updateBGColor(CustomMusicCell *this, char a2)
{
char v2; // w2
__int64 v4; // x3
__int64 v5; // x0
void (__fastcall *v6)(__int64, _BYTE *); // x3
_BYTE v8[8]; // [xsp+20h] [xbp+20h] BYREF
v2 = 50;
v4 = *((_QWORD *)this + 66);
if ( (a2 & 1) == 0 )
v2 = 75;
v5 = *((_QWORD *)this + 66);
v6 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v4 + 1216LL);
v8[0] = v2;
v8[1] = v2;
v8[2] = v2;
v6(v5, v8);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 66) + 1168LL))(*((_QWORD *)this + 66), 0xFFFFFFFFLL);
return _stack_chk_guard;
}