//
// CustomMusicCell::updateBGColor from 0x100229c90 to 0x100229cec (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:06 +0000
//
__int64 __fastcall CustomMusicCell::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 )
{
memset(v8, 50, 3);
v5 = *v4;
v6 = (char *)v8;
}
else
{
memset((char *)v8 + 4, 75, 3);
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);
}