Script::DropCursorMoney
function · ui · orchestration
- Address
0x48aba0· 19 bytes, up to0x48abb2- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Lua function DropCursorMoney
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/cursormoney#money-functions
Finding: Money functions in ui: the money cursor
GetCursorMoney() pushes the amount as an unsigned number and always returns 1 value. CursorHasMoney() pushes
the number 1 when the kind is 2, nil otherwise. DropCursorMoney() does nothing at all when the cursor holds no
money; otherwise it sets 0, so the money arm runs. PickupPlayerMoney(amount) raises a usage error for a
non-number (a numeric string is accepted). The amount is truncated toward zero. It does nothing for 0, without an
active player, or for an amount above the purse compared unsigned, so a negative amount is refused by the
purse test. The purse is the player's coinage field. Otherwise it calls the setter. It returns no values.
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.