//
// sub_6F72D8 from 0x6f72d8 to 0x6f72fe (38 bytes)
//
// 1 xrefs:
// > WebPDecodeYUV @ 0x70047a
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_DWORD *__fastcall sub_6F72D8(_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;
}