Decompile fn_23851 (CSession::HasUnknown6178Record)
Batch #5144 by meitogi: 0 byte-identical, 1 confirmed by peer review. - fn_23851 CSession::HasUnknown6178Record: logic confirmed by peer review Peer-reviewed-by: eAthena, youko 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
7631a9e469
commit
b122c2599b
2 changed files with 24 additions and 1 deletions
|
|
@ -29,6 +29,19 @@ int CSession::IsState291To303(int state) const {
|
|||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00E1D700
|
||||
// FUNCTION: fn_23851
|
||||
bool CSession::HasUnknown6178Record(int id) const {
|
||||
auto it = this->unknown_6178.begin();
|
||||
for (; it != this->unknown_6178.end(); ++it) {
|
||||
const SessionRecord6178 record = *it;
|
||||
if (id == record.id) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return it != this->unknown_6178.end();
|
||||
}
|
||||
|
||||
// OFFSET: 0x00E1D850
|
||||
// FUNCTION: fn_23852
|
||||
int CSession::IsType0Or4(int type) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue