rewrite function from IDA pseudocode to c++

Job ID: 33047210

Budget: $10 – $40 USD

i have an function decompiled by IDA Pro
i need to rewrite it into c++
i have done almost 80% of it
still few codes to be converted
note : works via teamviewer