benilla-re systems structs docs

HandleRaidInstanceMessagePacket

function · ui · primitive

Address
0x49e1c0 · 667 bytes, up to 0x49e45a
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Shows a raid lockout warning by type with the reset time in hours, minutes or days
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/instances#lockout-warnings
Test
ui::instances_lockout_warning

Finding: Lockout warnings in ui: instance messages

0x49e1c0 picks a template by type: 1 RAID_INSTANCE_WARNING_HOURS with t/3600, 2 RAID_INSTANCE_WARNING_MIN and 3 RAID_INSTANCE_WARNING_MIN_SOON with t/60, and 4 RAID_INSTANCE_WELCOME with days, hours and minutes split as 0x49e9d0 splits them. Each division is signed and truncates toward zero, so a seconds word of 2^31 or more prints negative numbers. Types 1 to 3 read the template through GetText with the number as its ordinal, so the plural form follows it; a negative number fails GetText's jge (0x703c0d) and reads the plain global with no plural rule, as type 4 always does. The line is the template filled with the map's name and the numbers, shown as a system line. Any other type shows nothing.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.