UINT64 __stdcall BgkSetTextColor(UINT64 Color){
__int64 v1;
char v2;
v1 = (unsigned int)Color;
if( (unsigned int)Color < 0x10 )
{
BgkpAcquireConsole();
if( v2 )
{
(*((void(__fastcall **)(char *, _QWORD))ConsoleInterface + 2))((char *)Palette + 4 * v1, 0i64);
ExReleaseRundownProtection(&stru_140C11248);
}
}
return 0i64;
}