//
// WebPPictureARGBToYUVADithered from 0x93a584 to 0x93a5e4 (96 bytes)
//
// 1 xrefs:
// > WebPEncode @ 0x94268a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:05:01 +0000
//
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_9396DC(v4, v6, v5, v7, 4 * v8, nullptr, v2);
}
v9 = 4;
}
else
{
v9 = 3;
}
return sub_9425B0(result, v9);
}
return result;
}