//
// CustomSongCell::updateBGColor from 0x4258fc to 0x42594e (82 bytes)
//
// 2 xrefs:
// > CustomListView::reloadAll @ 0x431352
// > CustomListView::loadCell @ 0x43401e
//
// 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:48:04 +0000
//
int __fastcall CustomSongCell::updateBGColor(CustomSongCell *this, int a2, int a3)
{
int v4; // r0
void (__fastcall *v5)(int, _DWORD *, _DWORD); // r2
char v6; // r3
_DWORD v8[3]; // [sp+0h] [bp-Ch] BYREF
v8[0] = this;
v8[1] = a2;
v8[2] = a3;
v4 = *((_DWORD *)this + 102);
v5 = *(void (__fastcall **)(int, _DWORD *, _DWORD))(*(_DWORD *)v4 + 608);
if ( (a2 & 1) != 0 )
v6 = 50;
else
v6 = 75;
LOBYTE(v8[0]) = v6;
BYTE1(v8[0]) = v6;
BYTE2(v8[0]) = v6;
v5(v4, v8, v5);
return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 102) + 584))(*((_DWORD *)this + 102), 255);
}