- Joined
- Dec 31, 2015

- Messages
- 673

- Likes
- 1

- Points
- 18

Output parameters are

**float**

Usage : call @crosshair_coords 0 x_out [email protected] y_out [email protected]

[shcode=cpp]

:crosshair_coords

0A8D: [email protected] = read_memory 0xC9C040 size 4 virtual_protect 0 //x screen

0A8D: [email protected] = read_memory 0xC9C044 size 4 virtual_protect 0 //y screen

0A8D: [email protected] = read_memory 0xB6EC14 size 4 virtual_protect 0

0A8D: [email protected] = read_memory 0xB6EC10 size 4 virtual_protect 0

0093: [email protected] = integer [email protected] [email protected]

006F: [email protected] *= [email protected]

0093: [email protected] = integer [email protected] to_float

[email protected] *= 0.0015625

[email protected] *= 64.0

[email protected] *= 0.2

[email protected] *= 0.1

0063: [email protected] -= [email protected] // (float)

///////

0093: [email protected] = integer [email protected] to_float

006F: [email protected] *= [email protected]

0093: [email protected] = integer [email protected] to_float

[email protected] *= 0.002232143

[email protected] *= 64.0

[email protected] *= 0.2

[email protected] *= 0.1

0063: [email protected] -= [email protected] // (float)

ret 2 [email protected] [email protected]

[/shcode]