Decompile fn_22186 (CGameMode::ReceiveUnknown16FC588)
Batch #5351 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_22186 CGameMode::ReceiveUnknown16FC588: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, alisonrag, tayoba 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
0ead4b914a
commit
ff78425bd0
2 changed files with 32 additions and 0 deletions
|
|
@ -535,3 +535,32 @@ void CGameMode::ReceiveHpSpRecovery(const unsigned char* packet, int variant) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// GLOBAL: gl_24965
|
||||
int g_unknown173A5BC;
|
||||
|
||||
// OFFSET: 0x00D50580
|
||||
// FUNCTION: fn_21884
|
||||
void CGameMode::IgnoreRemovedPacket7(const unsigned char*) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x00D79420
|
||||
// FUNCTION: fn_22167
|
||||
void CGameMode::ReceiveUnknown173A5BC(const unsigned char* packet) {
|
||||
const int value = *reinterpret_cast<const int*>(packet + 2);
|
||||
if (value > 0) {
|
||||
g_unknown173A5BC = value;
|
||||
}
|
||||
}
|
||||
|
||||
// GLOBAL: gl_24967
|
||||
int g_unknown16FC588;
|
||||
|
||||
// OFFSET: 0x00D7A0B0
|
||||
// FUNCTION: fn_22186
|
||||
void CGameMode::ReceiveUnknown16FC588(const unsigned char* packet) {
|
||||
const signed char value = *reinterpret_cast<const signed char*>(packet + 2);
|
||||
if (value != 1 && value != 2) {
|
||||
g_unknown16FC588 = 0;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue