//
// StatsCell::updateBGColor from 0x7379f0 to 0x737a90 (160 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x74d5b8
// > ??> @ 0xf75d0
//
// 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:39 +0000
//
__int64 __fastcall StatsCell::updateBGColor(StatsCell *this, char a2)
{
__int64 v2; // x0
void (__fastcall *v3)(__int64, char *); // x2
char v5; // [xsp+20h] [xbp+20h] BYREF
char v6; // [xsp+21h] [xbp+21h]
char v7; // [xsp+22h] [xbp+22h]
v2 = *((_QWORD *)this + 66);
v3 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v2 + 1216LL);
if ( (a2 & 1) != 0 )
{
v5 = -62;
v6 = 114;
v7 = 62;
}
else
{
v5 = -95;
v6 = 88;
v7 = 44;
}
v3(v2, &v5);
return _stack_chk_guard;
}