//
// WebPPictureInitInternal from 0xf1d428 to 0xf1d498 (112 bytes)
//
// 3 xrefs:
// > sub_F0F10C @ 0xf0f27c
// > sub_F1D8EC @ 0xf1d968
// > ??> @ 0xcee48
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:12:35 +0000
//
__int64 __fastcall WebPPictureInitInternal(_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;
memset(a1, 0, 0x100u);
a1[12] = sub_F1D334;
sub_F2B670(a1, 0);
return 1;
}