feat(ScInfo): Updated with new offsets (#43)

This commit is contained in:
Yimura 2022-10-22 23:25:07 +02:00 committed by GitHub
parent ae182f14f3
commit 997e95368c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,21 +6,26 @@
class ScInfo
{
public:
char m_ticket[256]; //0x0000
char pad_0100[256]; //0x0100
char m_auth_token[128]; //0x0200
uint32_t m_nonce; //0x0280
char pad_0284[12]; //0x0284
uint64_t m_peer_id; //0x0290
char pad_0298[132]; //0x0298
char m_country_code[3]; //0x031C
char pad_031F[32]; //0x031F
char m_email[78]; //0x033F
char pad_038D[24]; //0x038D
char m_language_code[8]; //0x03A5
char pad_03AD[2]; //0x03AD
char m_name[20]; //0x03AF
char pad_03C3[2813]; //0x03C3
}; //Size: 0x0EC0
static_assert(sizeof(ScInfo) == 0xEC0);
char m_ticket[208]; //0x0000
char pad_00D0[304]; //0x00D0
char m_session_ticket[96]; //0x0200 - rlSessionInfo base64 serialized?
char pad_0260[32]; //0x0260
uint32_t m_nonce; //0x0280
char pad_0284[4]; //0x0284
uint32_t m_account_id; //0x0288
char pad_028C[16]; //0x028C
char m_profile_pic[128]; //0x029C
char pad_031C[32]; //0x031C
char m_country_code[4]; //0x033C
char pad_0340[31]; //0x0340
char m_email_address[96]; //0x035F
char pad_03BF[6]; //0x03BF
char m_language_subtag[8]; //0x03C5
char pad_03CD[2]; //0x03CD
char m_sc_name[20]; //0x03CF
char pad_03E3[533]; //0x03E3
char m_session_key[16]; //0x05F8
char pad_0608[2296]; //0x0608
}; //Size: 0x0F00
static_assert(sizeof(ScInfo) == 0xF00);
#pragma pack(pop)