// // WebPPictureHasTransparency from 0xcaad18 to 0xcaae20 (264 bytes) // // 3 xrefs: // > sub_C99710 @ 0xc99728 // > sub_CB50E8 @ 0xcb528c // > @ 0x5c268 // // 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 // __int64 __fastcall WebPPictureHasTransparency(__int64 a1) { unsigned __int8 *v1; // x4 int v2; // w7 int v3; // w6 int v4; // w0 bool v5; // cc int v6; // w6 unsigned __int8 *v7; // x1 int v8; // t1 _DWORD *v10; // x5 int v11; // w9 int v12; // w8 int i; // w7 _DWORD *j; // x1 unsigned int v15; // t1 if ( !a1 ) return 0; if ( *(_DWORD *)a1 ) { v10 = *(_DWORD **)(a1 + 72); if ( v10 ) { v11 = *(_DWORD *)(a1 + 12); if ( v11 > 0 ) { v12 = *(_DWORD *)(a1 + 8); for ( i = 0; i != v11; ++i ) { if ( v12 > 0 ) { if ( *v10 <= 0xFEFFFFFF ) return 1; for ( j = v10; j != &v10[v12 - 1]; ++j ) { v15 = j[1]; if ( v15 <= 0xFEFFFFFF ) return 1; } } v10 += *(int *)(a1 + 80); } } } return 0; } v1 = *(unsigned __int8 **)(a1 + 48); v2 = *(_DWORD *)(a1 + 8); v3 = *(_DWORD *)(a1 + 12); v4 = *(_DWORD *)(a1 + 56); if ( v1 ) { v5 = v3 <= 0; v6 = v3 - 1; if ( !v5 ) { do { if ( v2 > 0 ) { if ( *v1 != 255 ) return 1; v7 = v1; while ( &v1[v2 - 1] != v7 ) { v8 = *++v7; if ( v8 != 255 ) return 1; } } --v6; v1 += v4; } while ( v6 != -1 ); } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source