//
// sub_CA674C from 0xca674c to 0xca6760 (20 bytes)
//
// 1 xrefs:
// > sub_C998E4 @ 0xc99994
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_BYTE *__fastcall sub_CA674C(__int64 a1, char a2)
{
_BYTE *result; // x0
result = *(_BYTE **)(a1 + 56);
*result = *result & 0x9F | (32 * (a2 & 3));
return result;
}