CWorld::GetEntityLight
function · terrain · orchestration
- Address
0x670630· 96 bytes, up to0x67068f- Signature
uint32_t __fastcall (void *object, void *a, void *b, uint32_t arg4, uint32_t arg5)- Meaning
- Copies an entity's cached light fields to its outputs when +0x90 bit 5 is set
- Confidence
- verified, proof one
- Finding
- terrain/world#entity-queries
Finding: Entity queries in terrain: world
Wrappers over a map entity (ecx). 0x6704c0 returns 1 when the entity is non-null and its +0x94
is 0. 0x670630 returns 0 unless +0x90 bit 5 is set; then it copies +0x98, the three floats at
+0xe4, +0xf0 and bit 8 of +0x90 to its outputs and returns 1. 0x670540 returns 0 unless
+0x90 bit 0 (indoors) is set; then 0x69db30 writes three words naming the entity's map object
group, [[model + 0x120] + 0x20], [map object model + 0x118] + 4 and the group key +0x7c, and
returns 1 if a group is found. 0x672470 writes the camera liquid state to its argument when
non-null and returns it.
The derivation is in the doc.
Callers 11
- CCamera::ClassifyWaterBand uicamera
- IsSubmergedAt objectlayer
- CGUnit_C::EmitWaterRipple objectlayer
- CGUnit_C::OnMoverStepped objectlayer
- CGUnit_C::PostInit objectlayer
- CGUnit_C::OnFootstep objectlayer
- CGUnit_C::IsInDeepLiquid objectlayer
- CGUnit_C::UpdateBreathState objectlayer
- CGUnit_C::IsPointAtLiquidSurface objectlayer
- CGUnit_C::AutoMovePitchToward objectlayer
- CGUnit_C::PlayDeathThud objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.