//
// ArtistCell::updateBGColor from 0x10022d1b0 to 0x10022d20c (92 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 ArtistCell::updateBGColor(__int64 a1, char a2)
{
__int64 v2; // rax
__int64 *v4; // rdi
__int64 v5; // rax
char *v6; // rsi
_QWORD v8[2]; // [rsp+0h] [rbp-10h] BYREF
v8[0] = v2;
v4 = *(__int64 **)(a1 + 528);
if ( (a2 & 1) != 0 )
{
BYTE2(v8[0]) = 62;
LOWORD(v8[0]) = 29378;
v5 = *v4;
v6 = (char *)v8;
}
else
{
BYTE6(v8[0]) = 44;
WORD2(v8[0]) = 22689;
v5 = *v4;
v6 = (char *)v8 + 4;
}
(*(void (__fastcall **)(__int64 *, char *))(v5 + 1216))(v4, v6);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 528) + 1168LL))(*(_QWORD *)(a1 + 528), 255);
}