// // sub_7279E4 from 0x7279e4 to 0x727a92 (174 bytes) // // 8 xrefs: // > WebPEncodeRGB @ 0x727ab0 // > WebPEncodeBGR @ 0x727ad4 // > WebPEncodeRGBA @ 0x727af8 // > WebPEncodeBGRA @ 0x727b1c // > WebPEncodeLosslessRGB @ 0x727b40 // > WebPEncodeLosslessBGR @ 0x727b68 // > WebPEncodeLosslessRGBA @ 0x727b90 // > WebPEncodeLosslessBGRA @ 0x727bb8 // // 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 sub_7279E4(int a1, int a2, int a3, int a4, int (__fastcall *a5)(_DWORD *, int, int), int a6, _DWORD *a7) { int v7; // s0 int result; // r0 int v13; // r3 _DWORD v14[4]; // [sp+4h] [bp-12Ch] BYREF _DWORD v15[28]; // [sp+14h] [bp-11Ch] BYREF _DWORD v16[43]; // [sp+84h] [bp-ACh] BYREF if ( !WebPConfigInitInternal(v15, 0, v7, 521) || !WebPPictureInitInternal(v16, 521) ) return 0; v13 = a6; v16[2] = a2; if ( a6 ) v13 = 1; v16[18] = WebPMemoryWrite; v15[0] = v13; v16[0] = v13; v16[3] = a3; v16[19] = v14; WebPMemoryWriterInit(v14); if ( a5(v16, a1, a4) && WebPEncode(v15, v16) ) { WebPPictureFree((int)v16); result = v14[1]; *a7 = v14[0]; } else { WebPPictureFree((int)v16); WebPMemoryWriterClear((int)v14); *a7 = 0; return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source