//
// WebPValidateConfig from 0x92fe28 to 0x92feee (198 bytes)
//
// 2 xrefs:
// > WebPConfigInitInternal @ 0x92ff72
// > WebPEncode @ 0x9425fe
//
// 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:52 +0000
//
bool __fastcall WebPValidateConfig(_BOOL4 result)
{
float v1; // s15
if ( result )
{
v1 = *(float *)(result + 4);
return v1 >= 0.0
&& v1 <= 100.0
&& *(int *)(result + 16) >= 0
&& *(float *)(result + 20) >= 0.0
&& *(_DWORD *)(result + 8) <= 6u
&& (unsigned int)(*(_DWORD *)(result + 24) - 1) <= 3
&& *(_DWORD *)(result + 28) <= 0x64u
&& *(_DWORD *)(result + 32) <= 0x64u
&& *(_DWORD *)(result + 36) <= 7u
&& *(_DWORD *)(result + 40) <= 1u
&& *(_DWORD *)(result + 44) <= 1u
&& (unsigned int)(*(_DWORD *)(result + 60) - 1) <= 9
&& *(_DWORD *)(result + 64) <= 1u
&& *(_DWORD *)(result + 68) <= 7u
&& *(_DWORD *)(result + 72) <= 3u
&& *(_DWORD *)(result + 76) <= 0x64u
&& *(int *)(result + 48) >= 0
&& *(int *)(result + 52) >= 0
&& *(_DWORD *)(result + 56) <= 0x64u
&& *(_DWORD *)result <= 1u
&& *(_DWORD *)(result + 92) <= 0x64u
&& *(_DWORD *)(result + 12) <= 3u
&& *(_DWORD *)(result + 80) <= 1u
&& *(_DWORD *)(result + 84) <= 1u
&& *(_DWORD *)(result + 88) <= 1u
&& *(_DWORD *)(result + 96) <= 1u;
}
return result;
}