// // VP8GetInfo from 0x6fbadc to 0x6fbb56 (122 bytes) // // 6 xrefs: // > sub_6F85BC @ 0x6f897a // > sub_6FF874 @ 0x6ffad2 // > sub_6FFCC0 @ 0x6ffec6 // > WebPGetInfo @ 0x700350 // > WebPGetFeaturesInternal @ 0x700888 // > WebPDecode @ 0x700c1c // // 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 // int __fastcall VP8GetInfo(unsigned __int8 *a1, unsigned int a2, unsigned int a3, int *a4, int *a5) { bool v5; // cc unsigned int v10; // r1 int v11; // r2 int v12; // r3 bool v13; // zf v5 = a1 != nullptr; if ( a1 ) v5 = a2 > 9; if ( !v5 ) return 0; if ( !VP8CheckSignature(a1 + 3, a2 - 3) ) return 0; v10 = (a1[2] << 16) | (a1[1] << 8) | *a1; if ( (*a1 & 1) != 0 || ((v10 >> 1) & 7) > 3 || (*a1 & 0x10) == 0 || a3 <= v10 >> 5 ) return 0; v11 = (a1[6] | (unsigned __int16)(a1[7] << 8)) & 0x3FFF; v12 = (a1[8] | (unsigned __int16)(a1[9] << 8)) & 0x3FFF; v13 = v11 == 0; if ( ((a1[6] | (unsigned __int16)(a1[7] << 8)) & 0x3FFF) != 0 ) v13 = v12 == 0; if ( v13 ) return 0; if ( a4 ) *a4 = v11; if ( a5 ) *a5 = v12; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source