std::string getnamefromid(int curactorid)
{
auto ChunkOffset = (uint32_t)((int)(key) >> 16);
auto NameOffset = (uint16_t)key;
auto NamePoolChunk = read<uint64_t>(base + 0xB770200 + ((ChunkOffset + 2) * 8));
auto entryOffset = NamePoolChunk + (DWORD)(2 * NameOffset);
auto nameEntry = read<uint16_t>(entryOffset);
int nameLength = nameEntry >> 6;
char buff[1028];
if ((DWORD)nameLength && nameLength > 0)
{
read(entryOffset + 2, buff, nameLength);
int v5;
char v8;
char* v2 = buff;
int v6 = 0x9;
__int64 v7 = nameLength;
do
{
v8 = *v2++;
BYTE(v5) = v6 + ~v8;
v6 += 0x1F0B;
*(v2 - 1) = v5;
--v7;
} while (v7);
buff[nameLength] = '\0';
return std::string(buff);
}
else
{
return "";
}
}
GOOGLE TRANSLATE im not turkishKodlarda oynama yapsam senin için problem olur mu ?
hi, I added you on discord I want to compile an old source with new offsets but some errors happening could you help me about it ?GOOGLE TRANSLATE im not turkish
Hayır elbette hayır, eğer kod konusunda yardıma ihtiyacınız varsa Discord'da bana dm atın
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?