Decompile fn_03954 (CCURLMgr::FromUtf8)
Batch #16496 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_03954 CCURLMgr::FromUtf8: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
8f9e9eb24f
commit
1bd6fae74a
16 changed files with 107 additions and 62 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include "Contents/UserData/AccountLinkedUserDataLoadAsyncWork.h"
|
||||
#include "Contents/UserData/AccountLinkedUserDataMgr.h"
|
||||
#include "Network/Http/CURLMgr.h"
|
||||
#include "Network/Http/CURLPostHander.h"
|
||||
#include "Network/TextEncoding.h"
|
||||
#include "Utility/Cipher/XorBytes.h"
|
||||
|
|
@ -93,7 +94,7 @@ bool CAccountLinkedUserDataLoadAsyncWork::Execute() {
|
|||
char accountId[64] = {};
|
||||
StringFormat(accountId, sizeof(accountId), _TRUNCATE, "%lu", this->m_accountId);
|
||||
|
||||
std::string name = ToUtf8(this->m_accountName);
|
||||
std::string name = CCURLMgr::GetInstance()->ToUtf8(this->m_accountName);
|
||||
CCURLPostHander handler(this->m_url);
|
||||
const std::uint8_t aid[] = {0x56, 0xB0, 0x0B, 0xB9};
|
||||
handler.AddField(DecryptName<0xC52FB5FBB94FF917ULL>(aid), accountId, 4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue