// // WebPPictureImportBGRA from 0x72b090 to 0x72b126 (150 bytes) // // 0 xrefs: // // 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 WebPPictureImportBGRA(_DWORD *a1, int a2, int a3) { int v5; // r3 int v7; // r1 int v8; // r4 int v9; // r10 int i; // r8 int v12; // r0 int v13; // r1 int v14; // r2 int v15; // r3 int v16; // r7 int v17; // [sp+14h] [bp-8h] if ( !a1 ) return 0; v5 = a2 + 2; v7 = a2 + 1; v8 = a2 + 3; v17 = a1[2]; v9 = a1[3]; if ( !*a1 ) return sub_729B1C(v5, v7, a2, (unsigned __int8 *)(a2 + 3), a3, nullptr, a1); if ( !WebPPictureAlloc((int)a1) ) return 0; sub_7019EC(); if ( v9 > 0 ) { for ( i = 0; i != v9; ++i ) { v12 = v8; v13 = v8 - 1; v14 = v8 - 2; v15 = v8 - 3; v8 += a3; v16 = a1[14] * i; off_AD50E0(v12, v13, v14, v15, v17, a1[13] + 4 * v16); } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source