//
// GJLocalLevelScoreCell::updateBGColor from 0x426220 to 0x4262a8 (136 bytes)
//
// 1 xrefs:
// > CustomListView::loadCell @ 0x4341c6
//
// 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 GJLocalLevelScoreCell::updateBGColor(GJLocalLevelScoreCell *this, int a2)
{
int v3; // r2
int v4; // r0
void (__fastcall *v5)(int, _DWORD *); // r3
char v6; // r2
char v7; // r2
char v8; // r2
_DWORD v10[2]; // [sp+0h] [bp-8h] BYREF
v10[0] = this;
v10[1] = a2;
v3 = *((_DWORD *)this + 105);
v4 = *((_DWORD *)this + 102);
if ( v3 && *(_BYTE *)(v3 + 60) )
{
v5 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v4 + 608);
LOWORD(v10[0]) = -26906;
v6 = 10;
}
else
{
if ( (a2 & 1) != 0 )
v7 = -62;
else
v7 = -95;
v5 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v4 + 608);
LOBYTE(v10[0]) = v7;
if ( (a2 & 1) != 0 )
v8 = 114;
else
v8 = 88;
BYTE1(v10[0]) = v8;
if ( (a2 & 1) != 0 )
v6 = 62;
else
v6 = 44;
}
BYTE2(v10[0]) = v6;
v5(v4, v10);
return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 102) + 584))(*((_DWORD *)this + 102), 255);
}