benilla-re systems structs docs

Script::GetCoinIcon

function · ui · orchestration

Address
0x48d4e0 · 88 bytes, up to 0x48d537
Signature
int __fastcall (lua_State *L)
Meaning
Returns the icon path a copper amount shows
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/cursormoney#coin-icons

Finding: Coin icons in ui: the money cursor

GetCoinIcon(amount) raises a usage error for a non-number and returns Interface\Icons\ plus a name chosen by the truncated amount, compared signed: below 10 INV_Misc_Coin_05; below 100 INV_Misc_Coin_06; below 1000 INV_Misc_Coin_03; below 10000 INV_Misc_Coin_04; below 100000 INV_Misc_Coin_01; else INV_Misc_Coin_02. A negative amount gives INV_Misc_Coin_05. The money cursor's picture is the same icon.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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