//
// WebPINewRGB from 0xedd1f8 to 0xedd288 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0xac9a8
//
// 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:11:46 +0000
//
__int64 __fastcall WebPINewRGB(unsigned int a1, __int64 a2, __int64 a3, int a4)
{
_BOOL4 v4; // w20
__int64 result; // x0
int v7; // [xsp+28h] [xbp+28h]
__int64 v8; // [xsp+30h] [xbp+30h]
v4 = a2 != 0;
if ( a1 > 0xA )
return 0;
if ( a2 )
{
if ( !a4 || !a3 )
return 0;
}
else
{
a4 = 0;
a3 = 0;
}
v7 = a4;
v8 = a3;
result = WebPINewDecoder(0);
if ( result )
{
*(_DWORD *)(result + 736) = a1;
*(_DWORD *)(result + 748) = v4;
*(_QWORD *)(result + 752) = a2;
*(_DWORD *)(result + 760) = v7;
*(_QWORD *)(result + 768) = v8;
return result;
}
return 0;
}