//
// AchievementCell::updateBGColor from 0x4251bc to 0x425214 (88 bytes)
//
// 1 xrefs:
// > CustomListView::loadCell @ 0x434000
//
// 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:03 +0000
//
int __fastcall AchievementCell::updateBGColor(AchievementCell *this, int a2)
{
int v2; // r0
char v3; // r2
int (__fastcall *v4)(int, _DWORD *); // r3
char v5; // r2
char v6; // r2
_DWORD v8[2]; // [sp+0h] [bp-8h] BYREF
v8[0] = this;
v8[1] = a2;
v2 = *((_DWORD *)this + 102);
if ( (a2 & 1) != 0 )
v3 = -62;
else
v3 = -95;
v4 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v2 + 608);
LOBYTE(v8[0]) = v3;
if ( (a2 & 1) != 0 )
v5 = 114;
else
v5 = 88;
BYTE1(v8[0]) = v5;
if ( (a2 & 1) != 0 )
v6 = 62;
else
v6 = 44;
BYTE2(v8[0]) = v6;
return v4(v2, v8);
}