void SUB_EXECUTERCSTATEVAR(void*_SUB_EXECUTERCSTATEVAR_UDT_STVAR){
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 "data213.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;
S_36286:;
if ((-(*(int8*)(((char*)_SUB_EXECUTERCSTATEVAR_UDT_STVAR)+(2))== 0ll ))||is_error_pending()){
if(qbevent){evnt(24224,33,"statevars.bas");if(r)goto S_36286;}
do{
*(int8*)(((char*)_SUB_EXECUTERCSTATEVAR_UDT_STVAR)+(1))=*(int8*)(((char*)_SUB_EXECUTERCSTATEVAR_UDT_STVAR)+(0));
if(!qbevent)break;evnt(24224,34,"statevars.bas");}while(r);
S_36288:;
if ((-(*(int8*)(((char*)_SUB_EXECUTERCSTATEVAR_UDT_STVAR)+(1))!= 0 ))||is_error_pending()){
if(qbevent){evnt(24224,35,"statevars.bas");if(r)goto S_36288;}
do{
*(int8*)(((char*)_SUB_EXECUTERCSTATEVAR_UDT_STVAR)+(2))= -1ll ;
if(!qbevent)break;evnt(24224,35,"statevars.bas");}while(r);
}
}
S_36292:;
if ((-(*(int8*)(((char*)_SUB_EXECUTERCSTATEVAR_UDT_STVAR)+(3))!= 0 ))||is_error_pending()){
if(qbevent){evnt(24224,37,"statevars.bas");if(r)goto S_36292;}
do{
*(int8*)(((char*)_SUB_EXECUTERCSTATEVAR_UDT_STVAR)+(1))=*(int8*)(((char*)_SUB_EXECUTERCSTATEVAR_UDT_STVAR)+(3));
if(!qbevent)break;evnt(24224,37,"statevars.bas");}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free213.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;
}
