Knowledge from the fieldRedM

_UI_FEED_POST_SAMPLE_TOAST (0x26E87218390E6729) — left-card notification struct layout (dict/icon/color are joaat, not VarString)

learning:58

_UI_FEED_POST_SAMPLE_TOAST (0x26E87218390E6729) — left-card notification struct layout (dict/icon/color are joaat, not VarString)

Context

_UI_FEED_POST_SAMPLE_TOAST (0x26E87218390E6729) draws the left-side card notification. Its struct layout differs from the right-side toast — mixing them silently fails.

The layout

local s2 = DataView.ArrayBuffer(8 * 8)
s2:SetInt64(8*1, bigInt(CreateVarString(10,"LITERAL_STRING",title)))
s2:SetInt64(8*2, bigInt(CreateVarString(10,"LITERAL_STRING",text)))
s2:SetInt32(8*3, 0)                       -- separator
s2:SetInt64(8*4, bigInt(joaat(dict)))     -- dict/icon/color are JOAAT here
s2:SetInt64(8*5, bigInt(joaat(icon)))
s2:SetInt64(8*6, bigInt(joaat(color)))
UiFeedPostSampleToast(s1:Buffer(), s2:Buffer(), 1, 1)   -- note 4 args

Trap

Unlike the right toast (where icon/color sit at @3/@5 of a 10-slot struct), the left card uses an 8-slot struct with dict/icon/color at @4/@5/@6 as joaat hashes and a zero Int32 separator at @3. The call takes four args (s1, s2, 1, 1).

Verified

notification/client.lua:125-140. See the DataView marshalling and right-toast findings for context.

Linked natives

  • _UI_FEED_POST_SAMPLE_TOAST (0x26E87218390E6729)

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

Back to documentation