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
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | void ** | __vfptr | Holds the vtable: delete, evaluate, verify, store | verified, proof one | camera#property-updates |
0x0004 | 8 | void *[2] | m_link | Holds the property's link in the update list | verified, proof one | camera#lifetime |
0x000c | 1 | uint8_t | m_type | Holds the property type: 3 vector, 6 scalar or angle in the camera | verified, proof one | camera#property-updates |
0x000d | 1 | uint8_t | m_flags | Holds 0x01 listed, 0x02 verify only, 0x04 stale, 0x08 changed | verified, proof one | camera#property-updates |
0x0010 | 4 | void * | m_producer | Holds the callback evaluate and verify run, or null | verified, proof one | camera#property-updates |
0x0014 | 4 | void * | m_producerContext | Holds the value passed to the producer in ecx | verified, proof one | camera#property-updates |
0x0018 | 4 | float | m_orderKey | Holds the key that orders the update list | verified, proof one | camera#property-updates |