// // WebPPictureCopy from 0x93b158 to 0x93b222 (202 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:05:01 +0000 // int __fastcall WebPPictureCopy(_DWORD *a1, _DWORD *a2) { bool v2; // zf void *v6; // r2 v2 = a2 == nullptr; if ( a2 ) v2 = a1 == nullptr; if ( v2 ) return 0; if ( a1 == a2 ) return 1; memcpy(a2, a1, 0xACu); sub_9372A0(a2); if ( !WebPPictureAlloc((int)a2) ) return 0; if ( *a1 ) { WebPCopyPlane((void *)a1[13], 4 * a1[14], (void *)a2[13], 4 * a2[14], 4 * a2[2], a2[3]); return 1; } WebPCopyPlane((void *)a1[4], a1[7], (void *)a2[4], a2[7], a2[2], a2[3]); WebPCopyPlane((void *)a1[5], a1[8], (void *)a2[5], a2[8], (a2[2] + 1) >> 1, (a2[3] + 1) >> 1); WebPCopyPlane((void *)a1[6], a1[8], (void *)a2[6], a2[8], (a2[2] + 1) >> 1, (a2[3] + 1) >> 1); v6 = (void *)a2[9]; if ( !v6 ) return 1; WebPCopyPlane((void *)a1[9], a1[10], v6, a2[10], a2[2], a2[3]); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source