OrpheuGetFunctionAddress
Gets the address in memory of a function given a handler to it
Syntax
native OrpheuGetFunctionAddress(OrpheuFunction:function) /** * Gets a handle to a struct given an address in memory * * @param structType The type of the struct * @param address The address where the struct is in * * @return A handler to the struct */ native OrpheuStruct:OrpheuGetStructFromAddress(OrpheuStructType:structType,address) /** * Gets the handler to a function given its address and the name that you give it in the file where you define the function * * @param address The address where the function is * @param libFunctionName The name of the function as it is in the file where the function is defined * @param className The name of the class if the function belongs to one * * @return A handler to the function */ native OrpheuFunction:OrpheuCreateFunction(address,const libFunctionName[],const classname[]="") /** * Gets the offset of the adress where the function is located to the base address of its library * * @param function A handler to the function * * @return The offset */
Usage
| function | A handler to the function |
Return
The — address o the function
Defined in
orpheu_advanced.inc
at line 25
.
This documentation was automatically generated from source.