//
// StatsCell::updateBGColor from 0x10022ca00 to 0x10022ca4f (79 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:27:07 +0000
//
__int64 __fastcall StatsCell::updateBGColor(__int64 a1, char a2)
{
__int64 v2; // rdi
__int16 v4; // [rsp+8h] [rbp-8h] BYREF
char v5; // [rsp+Ah] [rbp-6h]
__int16 v6; // [rsp+Ch] [rbp-4h] BYREF
char v7; // [rsp+Eh] [rbp-2h]
v2 = *(_QWORD *)(a1 + 528);
if ( (a2 & 1) != 0 )
{
v5 = 62;
v4 = 29378;
return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v2 + 1216LL))(v2, &v4);
}
else
{
v7 = 44;
v6 = 22689;
return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v2 + 1216LL))(v2, &v6);
}
}