//
// WebPCopyPlane from 0xcbb3f0 to 0xcbb45c (108 bytes)
//
// 13 xrefs:
// > sub_C99520 @ 0xc9960c
// > WebPPictureCopy @ 0xcabf10
// > WebPPictureCopy @ 0xcabf3c
// > WebPPictureCopy @ 0xcabf68
// > WebPPictureCopy @ 0xcabf88
// > WebPPictureCopy @ 0xcabfd0
// > WebPPictureCrop @ 0xcac298
// > WebPPictureCrop @ 0xcac2c8
// > WebPPictureCrop @ 0xcac2e8
// > WebPPictureCrop @ 0xcac314
// > WebPPictureCrop @ 0xcac3ac
// > WebPCopyPixels @ 0xcbb488
// > ??> @ 0x34ad0
//
// 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
//
char *__fastcall WebPCopyPlane(char *result, int a2, char *a3, int a4, int a5, int a6)
{
char *v6; // x20
int v8; // w19
size_t v9; // x24
__int64 v10; // x23
__int64 v11; // x22
void *v12; // x0
const void *v13; // x1
v6 = result;
v8 = a6 - 1;
if ( a6 > 0 )
{
v9 = a5;
v10 = a2;
v11 = a4;
do
{
v12 = a3;
v13 = v6;
--v8;
v6 += v10;
a3 += v11;
result = (char *)memcpy(v12, v13, v9);
}
while ( v8 != -1 );
}
return result;
}