//
// sub_72BEF0 from 0x72bef0 to 0x72bf2c (60 bytes)
//
// 1 xrefs:
// > WebPEncode @ 0x7330b6
//
// 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_72BEF0(_DWORD *result)
{
int v1; // r7
int v2; // r6
int *v3; // r4
int i; // r5
int *v5; // r3
int v6; // r2
v1 = result[3];
v2 = result[2];
v3 = (int *)result[13];
if ( v1 > 0 )
{
for ( i = 0; i != v1; ++i )
{
if ( v2 > 0 )
{
v5 = v3;
do
{
v6 = *v5++;
if ( (v6 & 0xFF000000) == 0 )
*(v5 - 1) = 0;
}
while ( v5 != &v3[v2] );
}
v3 += result[14];
}
}
return result;
}