//
// WebPDecodeBGRAInto from 0xee742c to 0xee7450 (36 bytes)
//
// 1 xrefs:
// > ??> @ 0x5cb18
//
// 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:53 +0000
//
__int64 __fastcall WebPDecodeBGRAInto(unsigned __int8 *a1, unsigned __int64 a2, __int64 a3, __int64 a4, int a5)
{
__int64 v11; // [xsp-268h] [xbp-268h] BYREF
int v12; // [xsp-25Ch] [xbp-25Ch]
__int64 v13; // [xsp-258h] [xbp-258h]
int v14; // [xsp-250h] [xbp-250h]
__int64 v15; // [xsp-248h] [xbp-248h]
__int64 v16[62]; // [xsp-1F0h] [xbp-1F0h] BYREF
if ( !a3 )
return 0;
WebPInitDecBufferInternal(&v11, 520);
memset(v16, 0, sizeof(v16));
v16[0] = (__int64)&v11;
LODWORD(v11) = 3;
v13 = a3;
v14 = a5;
v15 = a4;
v12 = 1;
if ( (unsigned int)sub_EE689C(a1, a2, v16) )
return 0;
else
return a3;
}