下面是IDA里面的函数 反汇编过来的 求教大佬们 用易语言把这个算法翻一下
感谢各位大佬
[JavaScript] 纯文本查看 复制代码 unsigned __int64 __fastcall sub_7FF75A582AC0(_DWORD *a1, __int64 a2)
{
__int64 *v2; // rbx
__int64 v3; // rdi
_DWORD *v4; // rsi
_QWORD *v5; // r8
unsigned __int64 result; // rax
int v7; // edi
_WORD *v8; // rcx
int v9; // [rsp+5Ch] [rbp+34h]
v2 = (__int64 *)a2;
v3 = (unsigned int)(*a1 >> 16);
v4 = a1;
v9 = (unsigned __int16)*a1;
if ( byte_7FF75EA0117C )
{
v5 = &unk_7FF75EA1CB40;
}
else
{
v5 = (_QWORD *)sub_7FF75A57E810(&unk_7FF75EA1CB40);
byte_7FF75EA0117C = 1;
}
result = sub_7FF75A582930(v5[v3 + 2 + (unsigned int)(4 * v9), v2);
v7 = v4[1];
if ( v7 )
{
v8 = (_WORD *)v2[1];
if ( (unsigned __int64)(v8 + 1) >= v2[2 )
{
sub_7FF75A5613B0(v2, 1i64);
v8 = (_WORD *)v2[1];
}
*v8 = 95;
v2[1 += 2i64;
result = sub_7FF75A55C1E0(v2, L"%d", (unsigned int)(v7 - 1));
}
return result;
}
|