// // sub_90F328 from 0x90f328 to 0x90f426 (254 bytes) // // 5 xrefs: // > sub_90F434 @ 0x90f5d4 // > sub_90F880 @ 0x90f980 // > WebPGetInfo @ 0x90fe52 // > WebPGetFeaturesInternal @ 0x910374 // > WebPDecode @ 0x910720 // // 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:25 +0000 // int __fastcall sub_90F328( unsigned __int8 **a1, unsigned int *a2, unsigned int a3, unsigned __int8 **a4, unsigned int *a5) { unsigned int v5; // r6 unsigned __int8 *v6; // r11 bool v7; // cc unsigned int v8; // r4 char v9; // r10 unsigned int v11; // r7 int result; // r0 int v13; // r0 unsigned __int8 *v14; // r2 unsigned int v15; // r5 v5 = *a2; v6 = *a1; v7 = *a2 > 7; *a4 = nullptr; *a5 = 0; *a1 = v6; *a2 = v5; if ( !v7 ) return 7; v8 = v6[4] | (v6[5] << 8) | ((v6[6] | (v6[7] << 8)) << 16); if ( v8 <= 0xFFFFFFF6 ) { v9 = a3; if ( a3 ) v9 = 1; v11 = 22; do { v15 = (v8 + 9) & 0xFFFFFFFE; v11 += v15; if ( v11 > a3 && v9 & 1 ) break; result = memcmp(v6, "VP8 ", 4u); if ( !result ) return result; result = memcmp(v6, "VP8L", 4u); if ( !result ) return result; v7 = v15 > v5; v5 -= v15; if ( v7 ) return 7; v13 = memcmp(v6, "ALPH", 4u); v14 = v6 + 8; v6 += v15; if ( !v13 ) { *a4 = v14; *a5 = v8; } *a1 = v6; *a2 = v5; if ( v5 <= 7 ) return 7; v8 = v6[4] | (v6[5] << 8) | ((v6[6] | (v6[7] << 8)) << 16); } while ( v8 <= 0xFFFFFFF6 ); } return 3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source