//
// sub_C64CAC from 0xc64cac to 0xc64cf8 (76 bytes)
//
// 1 xrefs:
// > WebPDecodeYUV @ 0xc718f4
//
// 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
//
_QWORD *__fastcall sub_C64CAC(_QWORD *result, void *a2)
{
_QWORD *v2; // x19
_QWORD *v3; // x3
if ( result && a2 )
{
v2 = result;
v3 = memcpy(a2, result, 0x78u);
result = (_QWORD *)v2[14];
if ( result )
{
v3[14] = 0;
*((_DWORD *)v3 + 3) = 1;
return (_QWORD *)(&dword_0 + 1);
}
}
return result;
}