LongToAscHex

Synopsis #

Header: fxcg/misc.h
Syscall index: 0x1841
Function signature: void LongToAscHex(int value, unsigned char* result, int length)

Converts a long int or int (both have the same size on the Prizm, 4 bytes) to its hexadecimal representation with a specified length.

Parameters #

  • value - value to convert.
  • result - pointer to string that will hold the conversion result.
  • length - desired length of the hexadecimal representation.