Toof's Profile
My biography is classified, 'cause it's classy.
First function seems like success...
So, if you wanna read Bob's part of global variable (bits range 0, 1), it will extract it, and put it into a useful number.
Now to reverse the process...
void get_gvarval(void)
{
// &gvar is a copy of target global variable
// here is set to 7 for testing purposes
int &gvar = 7;
// var we wanna extract
int &innervar = 0;
// inner var bit range
int &rangestart = &arg1;
int &rangeend = &arg2;
//rest
int &counter = 0;
int &adder = 0;
int &increment = 1;
loop:
if(&counter < 32)
{
if(&counter >= &rangestart)
{
if(&counter < &rangeend)
{
&adder = math_mod(&gvar, 2);
wait(1);
&gvar / 2;
wait(1);
&adder * &increment;
wait(1);
&increment * 2;
wait(1);
&innervar += &adder;
wait(1);
}
if(&counter == &rangeend)
{
&adder = math_mod(&gvar, 2);
wait(1);
&adder * &increment;
wait(1);
&innervar += &adder;
wait(1);
return(&innervar);
kill_this_task();
}
&counter += 1;
goto loop;
}
&counter += 1;
goto loop;
}
&counter += 1;
goto loop;
else
{
return(&innervar);
kill_this_task();
}
}
So, if you wanna read Bob's part of global variable (bits range 0, 1), it will extract it, and put it into a useful number.
Now to reverse the process...
Toof has released 4 files
| Title | Category | Avg | Updated |
|---|---|---|---|
| Adventurer's Adventure | D-Mod, Romp | 8.5 | February 2nd, 2025 |
| Dink Hotel (The) | D-Mod, Romp | 7.1 | April 2nd, 2019 |
| Golden Duck | D-Mod, Romp | 8.7 | October 4th, 2018 |
| DinkC Syntax Highlighting for Notepad++ Dark | Development, Utility | N/A | July 18th, 2018 |
Toof has written 2 reviews
| Title | File | Type | Score | Date |
|---|---|---|---|---|
| In a gadda da Brassweasel... | Search (The) | Normal | 8.3 | October 1st, 2018 |
| The good, the bad, and the this review | The Disciple | Featured | 9.2 | September 18th, 2017 |

8.5
9.2




