//
// sub_CA6724 from 0xca6724 to 0xca6738 (20 bytes)
//
// 3 xrefs:
// > sub_C998E4 @ 0xc99abc
// > sub_CADCA0 @ 0xcadfb0
// > sub_CAEEBC @ 0xcaf154
//
// 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_CA6724(__int64 a1, char a2)
{
_BYTE *result; // x0
result = *(_BYTE **)(a1 + 56);
*result = *result & 0xF3 | (4 * (a2 & 3));
return result;
}