Decompile fn_03697 (CLoadPartyInfoAsyncWork::Execute)
Batch #13715 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_03697 CLoadPartyInfoAsyncWork::Execute: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
f6c2437963
commit
eb92b82f61
1 changed files with 7 additions and 14 deletions
|
|
@ -82,8 +82,7 @@ void CLoadPartyInfoAsyncWork::Bind(
|
|||
this->m_url = url;
|
||||
this->m_token = token;
|
||||
this->m_queryAccountId = queryAccountId;
|
||||
const std::uint8_t unknown[] = {0xC6, 0x09, 0xA8, 0x3D, 0x8E, 0xF4, 0x5B, 0x17};
|
||||
AsyncDiagnostic diagnostic = Diagnostic(false, DecryptName<0x17359BF953C367B3ULL>(unknown), 52);
|
||||
AsyncDiagnostic diagnostic = Diagnostic(false, DecryptName<0x17359BF953C367B3ULL>({0xC6, 0x09, 0xA8, 0x3D, 0x8E, 0xF4, 0x5B, 0x17}), 52);
|
||||
this->m_diagnostic.MoveFrom(diagnostic);
|
||||
}
|
||||
|
||||
|
|
@ -98,21 +97,15 @@ bool CLoadPartyInfoAsyncWork::Execute() {
|
|||
char query[64] = {};
|
||||
StringFormat(query, sizeof(query), _TRUNCATE, "%lu", this->m_queryAccountId);
|
||||
CCURLPostHander handler(this->m_url);
|
||||
const std::uint8_t aidSource[] = {0x14, 0xB4, 0xF1, 0xDB};
|
||||
handler.AddField(DecryptName<0x3375B1C7DBB5FD55ULL>(aidSource), account, 4);
|
||||
const std::uint8_t gidSource[] = {0x58, 0x78, 0x89, 0xE7};
|
||||
handler.AddField(DecryptName<0x1D6D75EDE7CD311FULL>(gidSource), character, 4);
|
||||
const std::uint8_t tokenSource[] = {0xE0, 0x48, 0xEB, 0xBF, 0x37, 0xE0, 0x4C, 0x3C, 0xCF, 0x3D};
|
||||
handler.AddField(DecryptName<0x59278F63D79F3DA1ULL>(tokenSource), this->m_token, 4);
|
||||
const std::uint8_t worldSource[] = {0xE0, 0x68, 0x25, 0xA1, 0x4F, 0xA9, 0x4A, 0xEC, 0xD2, 0x07};
|
||||
handler.AddField(DecryptName<0x812BE72BCD5707B7ULL>(worldSource), world, 4);
|
||||
const std::uint8_t querySource[] = {0x58, 0xDC, 0x22, 0x2D, 0xA0, 0x1C, 0x3C, 0x97, 0x09};
|
||||
handler.AddField(DecryptName<0xD3755DD95F47A909ULL>(querySource), query, 4);
|
||||
handler.AddField(DecryptName<0x3375B1C7DBB5FD55ULL>({0x14, 0xB4, 0xF1, 0xDB}), account, 4);
|
||||
handler.AddField(DecryptName<0x1D6D75EDE7CD311FULL>({0x58, 0x78, 0x89, 0xE7}), character, 4);
|
||||
handler.AddField(DecryptName<0x59278F63D79F3DA1ULL>({0xE0, 0x48, 0xEB, 0xBF, 0x37, 0xE0, 0x4C, 0x3C, 0xCF, 0x3D}), this->m_token, 4);
|
||||
handler.AddField(DecryptName<0x812BE72BCD5707B7ULL>({0xE0, 0x68, 0x25, 0xA1, 0x4F, 0xA9, 0x4A, 0xEC, 0xD2, 0x07}), world, 4);
|
||||
handler.AddField(DecryptName<0xD3755DD95F47A909ULL>({0x58, 0xDC, 0x22, 0x2D, 0xA0, 0x1C, 0x3C, 0x97, 0x09}), query, 4);
|
||||
|
||||
if (handler.Perform() == 0) {
|
||||
this->m_response = FromUtf8(handler.Response());
|
||||
const std::uint8_t source[] = {0x1E, 0x96, 0x26, 0xC0, 0x88, 0xB2, 0xA4, 0x31};
|
||||
AsyncDiagnostic diagnostic = Diagnostic(true, DecryptName<0x31D7C1EDA345E36DULL>(source), 97);
|
||||
AsyncDiagnostic diagnostic = Diagnostic(true, DecryptName<0x31D7C1EDA345E36DULL>({0x1E, 0x96, 0x26, 0xC0, 0x88, 0xB2, 0xA4, 0x31}), 97);
|
||||
this->m_diagnostic.MoveFrom(diagnostic);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue