//
// WebPPictureImportRGBA from 0x93abb0 to 0x93ac46 (150 bytes)
//
// 0 xrefs:
//
// 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 WebPPictureImportRGBA(_DWORD *a1, int a2, int a3)
{
int v6; // r1
int v7; // r4
int v8; // r10
int i; // r8
int v11; // r0
int v12; // r1
int v13; // r2
int v14; // r3
int v15; // r7
int v16; // [sp+14h] [bp-8h]
if ( !a1 )
return 0;
v6 = a2 + 1;
v7 = a2 + 3;
v16 = a1[2];
v8 = a1[3];
if ( !*a1 )
return sub_9396DC(a2, v6, a2 + 2, (unsigned __int8 *)(a2 + 3), a3, nullptr, a1);
if ( !WebPPictureAlloc((int)a1) )
return 0;
sub_9115AC();
if ( v8 > 0 )
{
for ( i = 0; i != v8; ++i )
{
v11 = v7;
v12 = v7 - 3;
v13 = v7 - 2;
v14 = v7 - 1;
v7 += a3;
v15 = a1[14] * i;
off_D36368(v11, v12, v13, v14, v16, a1[13] + 4 * v15);
}
}
return 1;
}