LoadEntityFromHandleAddress Function

Interprets the address as an entity handle and returns the associated entity.

int LoadEntityFromHandleAddress(Address addr)

Parameters

Address addr

Address to a memory location.

Return Value

Entity index at the given location. If there is no entity, or the stored entity is invalid, then -1 is returned.