benilla-re systems structs docs

Script::GetInspectPVPRankProgress

function · ui · primitive

Address
0x51ab00 · 43 bytes, up to 0x51ab2a
Signature
int __fastcall (lua_State *L)
Meaning
Returns the inspected player's rank bar byte times the bar constant
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/honor#rank-progress
Test
ui::luabind_51ab00_get_inspect_pvp_rank_progress

Finding: Rank progress in ui: the PvP honor functions

GetPVPRankProgress() returns the rank bar byte of the active player times the float constant 0.003921569 (bits 0x3b808081), and 0 for an absent player. GetInspectPVPRankProgress() does the same to the byte cached from the inspect reply, with no player lookup. Neither clamps. The product is not the byte over 255.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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