benilla-re systems structs docs

CBaseManaged

struct · camera · 28 bytes

Vtable
0x81d7f0
Meaning
Holds a property's header: vtable, update-list link, type, flags and producer
Confidence
verified, proof one
Finding
camera#property-updates

Finding: Property updates in camera

A property holds a type, flags and a producer (callback, context, ordering key) before its value. Slot 3 stores the value, setting flag 0x08 when it changes. Slot 1 stores the producer's result for a copy of the value; slot 2 raises error 0x57 if that result differs. Both clear flag 0x04. The getters 0x7abf80 (vectors) and 0x7ac0b0 (scalars and angles) run slot 2 or slot 1 on a property with flag 0x04, slot 2 when flag 0x02 is set, before copying its value out. The setters 0x7ac250 and 0x7ac3a0 refuse a verify-only property, detach its producer, and call slot 3. No property in this build ever has a producer or flag 0x04: each is a plain stored value.

The derivation is in the doc.

Fields 7

offsetsizetypenamemeaningconfidencefinding
0x00004void **__vfptrHolds the vtable: delete, evaluate, verify, storeverified, proof onecamera#property-updates
0x00048void *[2]m_linkHolds the property's link in the update listverified, proof onecamera#lifetime
0x000c1uint8_tm_typeHolds the property type: 3 vector, 6 scalar or angle in the cameraverified, proof onecamera#property-updates
0x000d1uint8_tm_flagsHolds 0x01 listed, 0x02 verify only, 0x04 stale, 0x08 changedverified, proof onecamera#property-updates
0x00104void *m_producerHolds the callback evaluate and verify run, or nullverified, proof onecamera#property-updates
0x00144void *m_producerContextHolds the value passed to the producer in ecxverified, proof onecamera#property-updates
0x00184floatm_orderKeyHolds the key that orders the update listverified, proof onecamera#property-updates