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 "data42.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(16968);}while(r);
do{
if(!qbevent)break;evnt(16969);}while(r);
S_19484:;
if(qbevent){evnt(16971);if(r)goto S_19484;}
S_19485:;
if (((*_SUB_VWATCHVARIABLE_BYTE_ACTION==( -1 )))||is_error_pending()){
if(qbevent){evnt(16972);if(r)goto S_19485;}
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES= 0 ;
if(!qbevent)break;evnt(16973);}while(r);
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_LOCALVARIABLESLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16974);}while(r);
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES= 0 ;
if(!qbevent)break;evnt(16975);}while(r);
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_MAINMODULEVARIABLESLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16976);}while(r);
sc_ec_90_end:;
goto sc_2939_end;
}
S_19490:;
if (((*_SUB_VWATCHVARIABLE_BYTE_ACTION==( 0 )))||is_error_pending()){
if(qbevent){evnt(16977);if(r)goto S_19490;}
S_19491:;
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(16978);if(r)goto S_19491;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(16979);}while(r);
}
do{
qbs_set(__STRING_VWATCHNEWVARIABLE,_SUB_VWATCHVARIABLE_STRING_THIS);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16982);}while(r);
S_19495:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(__STRING_SUBFUNC,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(16983);if(r)goto S_19495;}
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES=*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES+ 1 ;
if(!qbevent)break;evnt(16984);}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(16985);}while(r);
do{
SUB_MANAGEVARIABLELIST(qbs_new_fixed((((uint8*)__UDT_ID)+((0+256))),256,1),_SUB_VWATCHVARIABLE_STRING_THIS,&(pass2940=*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES- 1 ),&(pass2941= 0 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16986);}while(r);
}else{
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES=*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES+ 1 ;
if(!qbevent)break;evnt(16988);}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(16989);}while(r);
do{
SUB_MANAGEVARIABLELIST(qbs_new_fixed((((uint8*)__UDT_ID)+((0+256))),256,1),_SUB_VWATCHVARIABLE_STRING_THIS,&(pass2942=*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES- 1 ),&(pass2943= 0 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16990);}while(r);
}
sc_ec_91_end:;
goto sc_2939_end;
}
S_19504:;
if (((*_SUB_VWATCHVARIABLE_BYTE_ACTION==( 1 )))||is_error_pending()){
if(qbevent){evnt(16992);if(r)goto S_19504;}
S_19505:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(__STRING_SUBFUNC,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(16993);if(r)goto S_19505;}
S_19506:;
if ((-(*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES> 0 ))||is_error_pending()){
if(qbevent){evnt(16994);if(r)goto S_19506;}
do{
SUB_WRITEBUFLINE(&(pass2944=*__LONG_DATATXTBUF),qbs_new_txt_len("void *vwatch_local_vars[0];",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16995);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2945=*__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(16996);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2946=*__LONG_DATATXTBUF),_SUB_VWATCHVARIABLE_STRING_MAINMODULEVARIABLESLIST);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16997);}while(r);
}else{
do{
SUB_WRITEBUFLINE(&(pass2947=*__LONG_DATATXTBUF),qbs_new_txt_len("void *vwatch_local_vars[0];",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16999);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2948=*__LONG_GLOBTXTBUF),qbs_new_txt_len("void *vwatch_global_vars[0];",28));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(17000);}while(r);
}
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_MAINMODULEVARIABLESLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(17003);}while(r);
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALMAINMODULEVARIABLES= 0 ;
if(!qbevent)break;evnt(17004);}while(r);
}else{
S_19517:;
if ((qbs_cleanup(qbs_tmp_base,qbs_notequal(__STRING_SUBFUNC,qbs_new_txt_len("SUB_VWATCH",10))))||is_error_pending()){
if(qbevent){evnt(17006);if(r)goto S_19517;}
S_19518:;
if ((-(*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES> 0 ))||is_error_pending()){
if(qbevent){evnt(17007);if(r)goto S_19518;}
do{
SUB_WRITEBUFLINE(&(pass2949=*__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(17008);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2950=*__LONG_DATATXTBUF),_SUB_VWATCHVARIABLE_STRING_LOCALVARIABLESLIST);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(17009);}while(r);
}else{
do{
SUB_WRITEBUFLINE(&(pass2951=*__LONG_DATATXTBUF),qbs_new_txt_len("void *vwatch_local_vars[0];",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(17011);}while(r);
}
}else{
do{
SUB_WRITEBUFLINE(&(pass2952=*__LONG_DATATXTBUF),qbs_new_txt_len("void *vwatch_local_vars[0];",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(17014);}while(r);
}
do{
qbs_set(_SUB_VWATCHVARIABLE_STRING_LOCALVARIABLESLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(17017);}while(r);
do{
*_SUB_VWATCHVARIABLE_LONG_TOTALLOCALVARIABLES= 0 ;
if(!qbevent)break;evnt(17018);}while(r);
}
sc_ec_92_end:;
goto sc_2939_end;
}
sc_2939_end:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free42.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;
}
