//
// FontPreviewCell::updateBGColor from 0x7a180c to 0x7a183c (48 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x4342b0
// > FontPreviewCell::loadFromIndex @ 0x7a1a76
//
// 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:59:54 +0000
//
_BYTE *__fastcall FontPreviewCell::updateBGColor(_BYTE *this, char a2)
{
char v2; // r3
char v3; // r3
char v4; // r3
if ( (a2 & 1) != 0 )
v2 = -62;
else
v2 = -95;
*(this + 420) = v2;
if ( (a2 & 1) != 0 )
v3 = 114;
else
v3 = 88;
*(this + 421) = v3;
if ( (a2 & 1) != 0 )
v4 = 62;
else
v4 = 44;
*(this + 422) = v4;
*(this + 423) = -1;
return this;
}