//
// WebPPictureARGBToYUVADithered from 0x72a9c4 to 0x72aa24 (96 bytes)
//
// 1 xrefs:
// > WebPEncode @ 0x732aca
//
// 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
//
int __fastcall WebPPictureARGBToYUVADithered(int result, int a2)
{
_DWORD *v2; // r4
int v3; // r5
int v4; // r0
int v5; // r7
int v6; // r1
unsigned __int8 *v7; // r3
int v8; // r5
int v9; // r1
v2 = (_DWORD *)result;
if ( result )
{
v3 = *(_DWORD *)(result + 52);
if ( v3 )
{
if ( !(a2 << 30) )
{
v4 = v3 + 2;
v5 = v3;
v6 = v3 + 1;
v7 = (unsigned __int8 *)(v3 + 3);
v8 = v2[14];
v2[1] = 0;
return sub_729B1C(v4, v6, v5, v7, 4 * v8, nullptr, v2);
}
v9 = 4;
}
else
{
v9 = 3;
}
return sub_7329F0(result, v9);
}
return result;
}