//
// sub_C6B310 from 0xc6b310 to 0xc6b368 (88 bytes)
//
// 3 xrefs:
// > WebPINewDecoder @ 0xc66ed4
// > sub_C6EF50 @ 0xc6efbc
// > sub_C706DC @ 0xc70af4
//
// 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
//
__int64 __fastcall sub_C6B310(_QWORD *a1, int a2)
{
bool v2; // zf
unsigned int v3; // w1
v2 = a2 >> 8 == 2;
v3 = 0;
if ( !v2 )
return v3;
if ( !a1 )
return 1;
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
a1[3] = 0;
a1[4] = 0;
a1[5] = 0;
a1[6] = 0;
a1[7] = 0;
a1[8] = 0;
a1[9] = 0;
a1[10] = 0;
a1[11] = 0;
a1[12] = 0;
a1[13] = 0;
a1[14] = 0;
a1[15] = 0;
a1[16] = 0;
a1[17] = 0;
a1[18] = 0;
a1[19] = 0;
return 1;
}