// // WebPPictureHasTransparency from 0x72a930 to 0x72a9c4 (148 bytes) // // 2 xrefs: // > sub_71D0A4 @ 0x71d0b0 // > sub_732784 @ 0x732862 // // 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 WebPPictureHasTransparency(_DWORD *result) { _DWORD *v1; // r5 int v2; // r4 int v3; // r6 int v4; // r3 int v5; // lr int v6; // r5 unsigned __int8 *v7; // r4 unsigned __int8 *v8; // r3 int v9; // t1 int v10; // r7 int v11; // r4 int v12; // r6 _DWORD *v13; // r2 int v14; // r3 unsigned int v15; // t1 v1 = result; if ( result ) { result = (_DWORD *)*result; if ( result ) { result = (_DWORD *)v1[13]; if ( result ) { v10 = v1[3]; if ( v10 <= 0 ) return nullptr; v11 = v1[2]; v12 = 0; while ( 1 ) { if ( v11 > 0 ) { if ( *result < 0xFF000000 ) return &dword_0 + 1; v13 = result; v14 = 0; while ( ++v14 != v11 ) { v15 = v13[1]; ++v13; if ( v15 < 0xFF000000 ) return &dword_0 + 1; } } ++v12; result += v1[14]; if ( v12 == v10 ) return nullptr; } } } else { v2 = v1[9]; v3 = v1[2]; v4 = v1[3]; v5 = v1[10]; if ( v2 ) { v6 = v4 - 1; if ( v4 > 0 ) { v7 = (unsigned __int8 *)(v2 + 1); do { if ( v3 > 0 ) { if ( *(v7 - 1) != 255 ) return &dword_0 + 1; v8 = v7; while ( &v7[v3 - 1] != v8 ) { v9 = *v8++; if ( v9 != 255 ) return &dword_0 + 1; } } --v6; v7 += v5; } while ( v6 != -1 ); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source