void SUB_VWATCHVARIABLE(qbs*_SUB_VWATCHVARIABLE_STRING_THIS,int8*_SUB_VWATCHVARIABLE_BYTE_ACTION){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data19.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(15241);}while(r);
do{
if(!qbevent)break;evnt(15242);}while(r);
S_17707:;
if(qbevent){evnt(15244);if(r)goto S_17707;}
S_17708:;
if (((*_SUB_VWATCHVARIABLE_BYTE_ACTION==( -1 )))||is_error_pending()){
if(qbevent){evnt(15245);if(r)goto S_17708;}
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES= 0 ;
if(!qbevent)break;evnt(15246);}while(r);
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_LOCALVARIABLESLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15247);}while(r);
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES= 0 ;
if(!qbevent)break;evnt(15248);}while(r);
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_MAINMODULEVARIABLESLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15249);}while(r);
sc_ec_84_end:;
goto sc_2588_end;
}
S_17713:;
if (((*_SUB_VWATCHVARIABLE_BYTE_ACTION==( 0 )))||is_error_pending()){
if(qbevent){evnt(15250);if(r)goto S_17713;}
S_17714:;
if ((qbs_cleanup(qbs_tmp_base,(-(func_instr(NULL,__STRING_VWATCHVARIABLEEXCLUSIONS,qbs_add(qbs_add(qbs_new_txt_len("@",1),_SUB_VWATCHVARIABLE_STRING_THIS),qbs_new_txt_len("@",1)),0)> 0 ))|(qbs_equal(qbs_left(_SUB_VWATCHVARIABLE_STRING_THIS, 12 ),qbs_new_txt_len("_SUB_VWATCH_",12)))))||is_error_pending()){
if(qbevent){evnt(15251);if(r)goto S_17714;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(15252);}while(r);
}
do{
qbs_set(__STRING_VWATCHNEWVARIABLE,_SUB_VWATCHVARIABLE_STRING_THIS);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15255);}while(r);
S_17718:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(__STRING_SUBFUNC,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(15256);if(r)goto S_17718;}
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES=*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES+ 1 ;
if(!qbevent)break;evnt(15257);}while(r);
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_MAINMODULEVARIABLESLIST,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_SUB_VWATCHVARIABLE_STRING_MAINMODULEVARIABLESLIST,qbs_new_txt_len("vwatch_global_vars[",19)),qbs__tostr((int64)(*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES- 1 ),NULL,0)),qbs_new_txt_len("] = &",5)),_SUB_VWATCHVARIABLE_STRING_THIS),qbs_new_txt_len(";",1)),__STRING_CRLF));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15258);}while(r);
do{
SUB_MANAGEVARIABLELIST(qbs_new_fixed((((uint8*)__UDT_ID)+((0+256))),256,1),_SUB_VWATCHVARIABLE_STRING_THIS,&(pass2589=*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES- 1 ),&(pass2590= 0 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15259);}while(r);
}else{
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES=*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES+ 1 ;
if(!qbevent)break;evnt(15261);}while(r);
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_LOCALVARIABLESLIST,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_SUB_VWATCHVARIABLE_STRING_LOCALVARIABLESLIST,qbs_new_txt_len("vwatch_local_vars[",18)),qbs__tostr((int64)(*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES- 1 ),NULL,0)),qbs_new_txt_len("] = &",5)),_SUB_VWATCHVARIABLE_STRING_THIS),qbs_new_txt_len(";",1)),__STRING_CRLF));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15262);}while(r);
do{
SUB_MANAGEVARIABLELIST(qbs_new_fixed((((uint8*)__UDT_ID)+((0+256))),256,1),_SUB_VWATCHVARIABLE_STRING_THIS,&(pass2591=*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES- 1 ),&(pass2592= 0 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15263);}while(r);
}
sc_ec_85_end:;
goto sc_2588_end;
}
S_17727:;
if (((*_SUB_VWATCHVARIABLE_BYTE_ACTION==( 1 )))||is_error_pending()){
if(qbevent){evnt(15265);if(r)goto S_17727;}
S_17728:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(__STRING_SUBFUNC,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(15266);if(r)goto S_17728;}
S_17729:;
if ((-(*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES> 0 ))||is_error_pending()){
if(qbevent){evnt(15267);if(r)goto S_17729;}
do{
SUB_WRITEBUFLINE(&(pass2593=*__LONG_DATATXTBUF),qbs_new_txt_len("void *vwatch_local_vars[0];",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15268);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2594=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("void *vwatch_global_vars[",25),qbs_str((int32)(*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES))),qbs_new_txt_len("];",2)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15269);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2595=*__LONG_DATATXTBUF),_SUB_VWATCHVARIABLE_STRING_MAINMODULEVARIABLESLIST);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15270);}while(r);
}else{
do{
SUB_WRITEBUFLINE(&(pass2596=*__LONG_DATATXTBUF),qbs_new_txt_len("void *vwatch_local_vars[0];",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15272);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2597=*__LONG_GLOBTXTBUF),qbs_new_txt_len("void *vwatch_global_vars[0];",28));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15273);}while(r);
}
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_MAINMODULEVARIABLESLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15276);}while(r);
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES= 0 ;
if(!qbevent)break;evnt(15277);}while(r);
}else{
S_17740:;
if ((qbs_cleanup(qbs_tmp_base,qbs_notequal(__STRING_SUBFUNC,qbs_new_txt_len("SUB_VWATCH",10))))||is_error_pending()){
if(qbevent){evnt(15279);if(r)goto S_17740;}
S_17741:;
if ((-(*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES> 0 ))||is_error_pending()){
if(qbevent){evnt(15280);if(r)goto S_17741;}
do{
SUB_WRITEBUFLINE(&(pass2598=*__LONG_DATATXTBUF),qbs_add(qbs_add(qbs_new_txt_len("void *vwatch_local_vars[",24),qbs_str((int32)(*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES))),qbs_new_txt_len("];",2)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15281);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2599=*__LONG_DATATXTBUF),_SUB_VWATCHVARIABLE_STRING_LOCALVARIABLESLIST);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15282);}while(r);
}else{
do{
SUB_WRITEBUFLINE(&(pass2600=*__LONG_DATATXTBUF),qbs_new_txt_len("void *vwatch_local_vars[0];",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15284);}while(r);
}
}else{
do{
SUB_WRITEBUFLINE(&(pass2601=*__LONG_DATATXTBUF),qbs_new_txt_len("void *vwatch_local_vars[0];",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15287);}while(r);
}
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_LOCALVARIABLESLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15290);}while(r);
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES= 0 ;
if(!qbevent)break;evnt(15291);}while(r);
}
sc_ec_86_end:;
goto sc_2588_end;
}
sc_2588_end:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free19.txt"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
cmem_sp=tmp_cmem_sp;
}
