- 2,107
- 1,262
Я не шарю в клео, но можете прокоментировать строки, хочу на луа перевести
CLEO:
{$CLEO}
0A9F: 0@ = current_thread_pointer
0@ += 0x10
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
// -- Clock Border
0A8C: write_memory 0x58EB70 size 1 value 1 virtual_protect 1
// -- Money Border
0A8C: write_memory 0x58F58D size 1 value 1 virtual_protect 1
// -- Money String Format
0A8F: 1@ = 0@ - @POSITIVE_MONEY
0A8C: write_memory 0x58F4C8 size 4 value 1@ virtual_protect 1
// -- Money String Format - Negative (debt)
0@ -= @NEGATIVE_MONEY
0A8C: write_memory 0x58F50A size 4 value 0@ virtual_protect 1
0A93: end_custom_thread
:POSITIVE_MONEY
hex
"$%d" 00
end
:NEGATIVE_MONEY
hex
"-$%d" 00
end