Knowledge from the fieldRedM

_UI_FEED_POST_SAMPLE_TOAST_RIGHT (0xB249EBCB30DD88E0) — DataView struct layout for a right-side notification toast

learning:57

_UI_FEED_POST_SAMPLE_TOAST_RIGHT (0xB249EBCB30DD88E0) — DataView struct layout for a right-side notification toast

Context

_UI_FEED_POST_SAMPLE_TOAST_RIGHT (0xB249EBCB30DD88E0) is documented only as p0 (Any*), p1 (Any*), p2 (BOOL) with no description — unusable as-is. p0/p1 are two packed DataView structs. (See the general DataView marshalling finding for the 8-byte-stride rules.)

The layout

UiFeedClearAllChannels()                         -- 0x6035E8FBCA32AC5E, clear first or toasts stack
RequestStreamedTextureDict(message.dict, true)   -- load icon dict first

local s1 = DataView.ArrayBuffer(8 * 7)
s1:SetInt32(8*0, duration)
s1:SetInt64(8*1, bigInt(soundset_ref))           -- e.g. "Transaction_Feed_Sounds"
s1:SetInt64(8*2, bigInt(soundset_name))          -- "Transaction_Positive"/"Transaction_Negative"

local s2 = DataView.ArrayBuffer(8 * 10)
s2:SetInt64(8*1, bigInt(CreateVarString(10,"LITERAL_STRING",text)))
s2:SetInt64(8*2, bigInt(dict))
s2:SetInt64(8*3, bigInt(joaat(icon)))
s2:SetInt64(8*5, bigInt(joaat(color)))

UiFeedPostSampleToastRight(s1:Buffer(), s2:Buffer(), 1)

Trap

Text fields are VAR_STRING-wrapped (CreateVarString); icon/color are joaat hashes. Skipping UiFeedClearAllChannels stacks toasts; not loading the icon dict renders a blank icon.

Verified

notification/client.lua:75-93. Native has null description, no findings.

Linked natives

  • _UI_FEED_CLEAR_ALL_CHANNELS (0x6035E8FBCA32AC5E)
  • _UI_FEED_POST_SAMPLE_TOAST_RIGHT (0xB249EBCB30DD88E0)

Tags: uifeed, notification, toast, dataview, struct, rdr3
Category: natives
Source: jo_libs-fleet
Created: 2026-05-31T09:41:04.348Z

Back to documentation