// // sub_F1D8EC from 0xf1d8ec to 0xf1da10 (292 bytes) // // 8 xrefs: // > WebPEncodeRGB @ 0xf1da20 // > WebPEncodeBGR @ 0xf1da34 // > WebPEncodeRGBA @ 0xf1da48 // > WebPEncodeBGRA @ 0xf1da5c // > WebPEncodeLosslessRGB @ 0xf1da74 // > WebPEncodeLosslessBGR @ 0xf1da90 // > WebPEncodeLosslessRGBA @ 0xf1daac // > WebPEncodeLosslessBGRA @ 0xf1dac8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:12:36 +0000 // __int64 __fastcall sub_F1D8EC( __int64 a1, int a2, int a3, unsigned int a4, unsigned int (__fastcall *a5)(__int64 *, __int64, _QWORD), int a6, _QWORD *a7, float a8) { _QWORD v16[4]; // [xsp+60h] [xbp+60h] BYREF _DWORD v17[28]; // [xsp+80h] [xbp+80h] BYREF __int64 v18; // [xsp+F0h] [xbp+F0h] BYREF int v19; // [xsp+F8h] [xbp+F8h] int v20; // [xsp+FCh] [xbp+FCh] __int64 (__fastcall *v21)(void *, size_t, __int64); // [xsp+150h] [xbp+150h] _QWORD *v22; // [xsp+158h] [xbp+158h] if ( !(unsigned int)WebPConfigInitInternal((__int64)v17, 0, 521, a8) || !(unsigned int)WebPPictureInitInternal(&v18, 521) ) { return 0; } v19 = a2; v17[0] = a6 != 0; LODWORD(v18) = v17[0]; v21 = WebPMemoryWrite; v20 = a3; v22 = v16; WebPMemoryWriterInit(v16); if ( !a5(&v18, a1, a4) || !(unsigned int)WebPEncode(v17, &v18) ) { WebPPictureFree((__int64)&v18); WebPMemoryWriterClear((__int64)v16); *a7 = 0; return 0; } WebPPictureFree((__int64)&v18); *a7 = v16[0]; return v16[1]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source