WowTime::IsLess
function · unassigned · orchestration
- Address
0x642770· 266 bytes, up to0x642879- Signature
uint8_t __thiscall (WowTime *this, const WowTime *other)- Meaning
- Returns whether a time is before another at the first field both set and unequal
- Confidence
- verified, proof one
- Finding
- gametime/overview#time-range-test
- Test
gametime::time_order_difftest,gametime::time_in_range_difftest
Finding: Time range test in gametime: overview
IsDaytime (0x60a050) asks WowTime::InRange (0x642710) whether the clock lies from 5:30 up to, not
including, 21:00: 5:30 and 20:59 are day, 21:00 and 5:29 are night. Only the hour and the minute count,
since the bounds leave weekday, day, month and year unset. InRange(this, from, to) gives this >= from
and this < to when from <= to, else this >= from or this < to. An ordering walks year, month, day,
weekday, hour, minute and skips a field either time leaves negative; for equality an unset field matches
anything. A clock with no hour and minute set, as built, is not daytime: >= 5:30 holds through the
wildcard equality, and < 21:00 fails.
The derivation is in the doc.
Callers 2
- WowTime::InRange unassigned
- WowTime::IsLessOrEqual unassigned
Callees 6
- WowTime::CompareYear unassigned
- WowTime::CompareMonth unassigned
- WowTime::CompareDay unassigned
- WowTime::CompareWeekday unassigned
- WowTime::CompareHour unassigned
- WowTime::CompareMinute unassigned
Calls and jumps by a bare address, from tables/calls.tsv.