//
// sub_906E98 from 0x906e98 to 0x906ebe (38 bytes)
//
// 1 xrefs:
// > WebPDecodeYUV @ 0x91003a
//
// 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:04:19 +0000
//
_DWORD *__fastcall sub_906E98(_DWORD *result, void *a2)
{
bool v2; // zf
_DWORD *v3; // r4
v2 = result == nullptr;
if ( result )
v2 = a2 == nullptr;
if ( !v2 )
{
v3 = result;
result = memcpy(a2, result, 0x54u);
if ( v3[20] )
{
result[3] = 1;
result[20] = 0;
}
}
return result;
}