//
// sub_CA6738 from 0xca6738 to 0xca674c (20 bytes)
//
// 2 xrefs:
// > sub_C998E4 @ 0xc99988
// > sub_CB0634 @ 0xcb073c
//
// 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_CA6738(__int64 a1, char a2)
{
_BYTE *result; // x0
result = *(_BYTE **)(a1 + 56);
*result = *result & 0xEF | (16 * (a2 & 1));
return result;
}