benilla-re systems structs docs

camera

rowsnamedverifiedproof twotested
functions8585 (100%)60 (70%)2 (2%)7 (8%)
globals2222 (100%)22 (100%)2 (9%)–
structs22 (100%)2 (100%)0 (0%)–
fields3939 (100%)31 (79%)0 (0%)–
all148148 (100%)115 (77%)4 (2%)7 (8%)

Docs

camera

The camera object and the matrices it gives the graphics device.

A camera (CCamera, allocation tag HCAMERA) is a 0x170-byte object holding nine properties: eye, target, distance, far and near clip, field of view, roll, pitch and yaw. Each property is a CBaseManaged object of its own; an angle keeps its cosine and sine. The camera builds a perspective projection and a view for the device, and code outside reads and writes its properties by id through four accessors.

The code is two object files from 0x7abbc0 through 0x7adf70: the property machinery, then the class with two free transforms the interface uses, an orthographic setup for a rectangle and a screen-to-world unprojection. The particle density setting beside them is in the next file, models' particle registry; its entry is in this doc.

Closure

16 roots. A walk of direct calls and jumps from them reaches 39 of the 85 functions the system owns, and stops at 24 functions of other systems. Vtable slots and stored addresses are not followed, so a function reached only that way is not counted.

Roots

Boundary

Functions 85

addressnameclassconfidencetestclosure
0x7abbc0InitCameraPropertyInfinityThunkorchestrationverified, proof one✓
0x7abbd0InitCameraPropertyInfinityorchestrationverified, proof one✓
0x7abbe0NormalizeAngleprimitiveverified, proof two✓✓
0x7abc20RegisterPropertyorchestrationverified, proof one✓
0x7abc50RegisterPropertyType1unreachedinferred
0x7abc70RegisterPropertyType2unreachedinferred
0x7abc90RegisterVectorPropertyorchestrationverified, proof one✓
0x7abcb0RegisterPropertyType4unreachedinferred
0x7abcd0RegisterPropertyType5unreachedinferred
0x7abcf0RegisterScalarPropertyorchestrationverified, proof one✓
0x7abd10InsertPropertyInUpdateListorchestrationverified, proof one✓
0x7abdf0UpdateAllPropertiesunreachedinferred
0x7abe50GetPropertyType5unreachedinferred
0x7abea0GetPropertyType1unreachedinferred
0x7abf10GetPropertyType2unreachedinferred
0x7abf80GetVectorPropertyorchestrationverified, proof one✓
0x7abff0GetPropertyType4unreachedinferred
0x7ac060GetPropertyType5Copyunreachedinferred
0x7ac0b0GetScalarPropertyorchestrationverified, proof one✓
0x7ac110GetPropertyProducerunreachedinferred
0x7ac150SetPropertyType5unreachedinferred
0x7ac1a0SetPropertyType1unreachedinferred
0x7ac1f0SetPropertyType2unreachedinferred
0x7ac250SetVectorPropertyorchestrationverified, proof one✓
0x7ac300SetPropertyType4unreachedinferred
0x7ac350SetPropertyType5Copyunreachedinferred
0x7ac3a0SetScalarPropertyorchestrationverified, proof one✓
0x7ac3f0AttachProducerType5unreachedinferred
0x7ac410AttachPropertyProducerunreachedinferred
0x7ac4b0AttachProducerType1unreachedinferred
0x7ac4d0AttachProducerType2unreachedinferred
0x7ac4f0AttachVectorProducerunreachedinferred
0x7ac510AttachProducerType4unreachedinferred
0x7ac530AttachProducerType5Copyunreachedinferred
0x7ac550AttachScalarProducerunreachedinferred
0x7ac570GetNextLinkorchestrationverified, proof one✓
0x7ac5a0InitCameraPropertyTwoPiThunkorchestrationverified, proof one✓
0x7ac5b0InitCameraPropertyTwoPiprimitiveverified, proof one✓✓
0x7ac5c0InitCameraPropertyInvTwoPiThunkorchestrationverified, proof one✓
0x7ac5d0InitCameraPropertyInvTwoPiprimitiveverified, proof one✓✓
0x7ac5f0InitCameraInfinityThunkorchestrationverified, proof one✓
0x7ac600InitCameraInfinityorchestrationverified, proof one✓
0x7ac610InitDefaultFovThunkorchestrationverified, proof one✓
0x7ac620InitDefaultFovprimitiveverified, proof one✓
0x7ac640CCamera::SetDeviceTransformsprimitiveverified, proof one✓✓
0x7ac810CCamera::ComputeEyeunreachedverified, proof one
0x7ac8a0CCamera::ComputeTargetunreachedverified, proof one
0x7ac930CameraCreateorchestrationverified, proof one✓
0x7acb10CBaseManaged::CBaseManagedorchestrationverified, proof one✓
0x7acb30CBaseManaged::Evaluateorchestrationverified, proof one
0x7acb40CBaseManaged::Verifyorchestrationverified, proof one
0x7acb50CBaseManaged::DeletingDestructororchestrationverified, proof one
0x7acbc0InitAnglePropertyprimitiveverified, proof two✓
0x7acc40StoreAnglePropertyprimitiveverified, proof one✓
0x7acca0DeleteAnglePropertyorchestrationverified, proof one
0x7acd10DeletePropertySetorchestrationverified, proof one
0x7acd80CCamera::DeletingDestructororchestrationverified, proof one
0x7ace30CBaseManaged::~CBaseManagedorchestrationverified, proof one
0x7ace80DestroyPropertySetorchestrationverified, proof one
0x7acf10CameraCloneorchestrationverified, proof one✓
0x7ad1b0CBaseManaged::SetProducerorchestrationverified, proof one✓
0x7ad1d0InitPropertySetorchestrationverified, proof one✓
0x7ad2c0UnprojectScreenPointprimitiveverified, proof one✓✓
0x7ad7f0SetupOrthoTransformsprimitiveverified, proof one✓✓
0x7ada40CameraSetDeviceTransformsorchestrationverified, proof one✓
0x7ada60CameraUpdatePropertiesunreachedinferred
0x7ada80InitScalarPropertyorchestrationverified, proof one✓
0x7adac0StoreScalarPropertyorchestrationverified, proof one
0x7adae0EvaluateScalarPropertyorchestrationverified, proof one
0x7adb20VerifyScalarPropertyorchestrationverified, proof one
0x7adb70FreePropertySlotsorchestrationverified, proof one✓
0x7adb90ResizePropertySlotsorchestrationverified, proof one✓
0x7adc50InitUpdateListorchestrationverified, proof one✓
0x7adc80InitVectorPropertyorchestrationverified, proof one✓
0x7adcd0StoreVectorPropertyorchestrationverified, proof one
0x7add20EvaluateVectorPropertyorchestrationverified, proof one
0x7add70VerifyVectorPropertyorchestrationverified, proof one
0x7ade00DeleteScalarPropertyorchestrationverified, proof one
0x7ade70DeleteVectorPropertyorchestrationverified, proof one
0x7adee0UnlinkListNodeorchestrationverified, proof one
0x7adf20InitCameraTwoPiThunkorchestrationverified, proof one✓
0x7adf30InitCameraTwoPiprimitiveverified, proof one✓
0x7adf40InitCameraInvTwoPiThunkorchestrationverified, proof one✓
0x7adf50InitCameraInvTwoPiprimitiveverified, proof one✓
0x7adf70GetNodeLinkorchestrationverified, proof one

Globals 22

addressnametypeconfidence
0x81d7a0s_infinityCameraPropertyconst floatverified, proof one
0x81d7a8s_infinityCameraconst floatverified, proof one
0x81d7acs_piCameraconst floatverified, proof one
0x81d7b0s_defaultDistancefloatverified, proof one
0x81d7b4s_defaultFarClipfloatverified, proof one
0x81d7b8s_defaultNearClipfloatverified, proof one
0x81d7bcs_orthoDepthfloatverified, proof one
0x81d7c0CCamera::vftablevoid *[2]verified, proof one
0x81d7c8s_scalarPropertyVftablevoid *[4]verified, proof one
0x81d7d8s_vectorPropertyVftablevoid *[4]verified, proof one
0x81d7e8s_propertySetVftablevoid *[2]verified, proof one
0x81d7f0CBaseManaged::vftablevoid *[3]verified, proof one
0x81d7fcs_anglePropertyVftablevoid *[4]verified, proof one
0x87d5d8s_cameraTagchar[8]verified, proof one
0x87d5e8s_propertySlotsTagchar[19]verified, proof one
0xcf572cs_cameraPropertyInfinityfloatverified, proof one
0xcf5730s_cameraInvTwoPifloatverified, proof two
0xcf5734s_cameraTwoPifloatverified, proof two
0xcf5738s_defaultFovfloatverified, proof one
0xcf573cs_cameraInfinityfloatverified, proof one
0xcf5740s_cameraInvTwoPi2floatverified, proof one
0xcf5744s_cameraTwoPi2floatverified, proof one

Structs