Description of the 'interlocked_decrement' function in HyperDbg Scripts
interlocked_decrement
interlocked_decrement( *Variable );
[*Variable (Addend)]
A reference to a variable (most of the time a global variable) to be subtracted by 1.
1
Decrements (decreases by one) the value of the specified global variable as an atomic operation.
The function returns the resulting decremented value.
Result = interlocked_decrement(.my_gloabl_counter);
Decrements a global variable by 1 and saves the results into a local variable named Result.
Result
None
interlocked_compare_exchangearrow-up-right
interlocked_incrementarrow-up-right
interlocked_exchangearrow-up-right
interlocked_exchange_addarrow-up-right
Last updated 2 years ago