int __fastcall ImageRenderGetPixel(int buf, int a2, int a3, int a4)
{
char *v4; // esi
int result; // eax
_BYTE *v6; // ecx
int n7; // ebx
_BYTE *v8; // edx
int n7_1; // ebp
v4 = (char *)&unk_FFE7728C;
result = a3 + a4 * a2;
v6 = (_BYTE *)(result + buf);
n7 = 7;
do
{
v8 = v6;
n7_1 = 7;
do
{
LOBYTE(result) = v8[v4 - v6];
*v8++ = result;
--n7_1;
}
while ( n7_1 );
v6 += a2;
v4 += 7;
--n7;
}
while ( n7 );
return result;
}