benilla-re systems structs docs

Script::GetPVPRankProgress

function · ui · primitive

Address
0x51aa90 · 107 bytes, up to 0x51aafa
Signature
int __fastcall (lua_State *L)
Meaning
Returns the active 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_51aa90_get_pvp_rank_progress, 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 3

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