void SUB_WRITEBUFFERS(qbs*_SUB_WRITEBUFFERS_STRING_SBNAME){
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 "data205.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(28168,88,"sb_qb64pe_extension.bm");}while(r);
S_39043:;
if ((qbs_cleanup(qbs_tmp_base,qbs_notequal(_SUB_WRITEBUFFERS_STRING_SBNAME,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(28168,90,"sb_qb64pe_extension.bm");if(r)goto S_39043;}
S_39044:;
fornext_value4699= 0 ;
fornext_finalvalue4699=func_ubound(__ARRAY_STRING_SBUFN,1,1);
fornext_step4699= 1 ;
if (fornext_step4699<0) fornext_step_negative4699=1; else fornext_step_negative4699=0;
if (is_error_pending()) goto fornext_error4699;
goto fornext_entrylabel4699;
while(1){
fornext_value4699=fornext_step4699+(*_SUB_WRITEBUFFERS_INTEGER_BUF);
fornext_entrylabel4699:
*_SUB_WRITEBUFFERS_INTEGER_BUF=fornext_value4699;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4699){
if (fornext_value4699<fornext_finalvalue4699) break;
}else{
if (fornext_value4699>fornext_finalvalue4699) break;
}
fornext_error4699:;
if(qbevent){evnt(28168,91,"sb_qb64pe_extension.bm");if(r)goto S_39044;}
S_39045:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(((qbs*)(((uint64*)(__ARRAY_STRING_SBUFN[0]))[array_check((*_SUB_WRITEBUFFERS_INTEGER_BUF)-__ARRAY_STRING_SBUFN[4],__ARRAY_STRING_SBUFN[5])])),_SUB_WRITEBUFFERS_STRING_SBNAME)))||is_error_pending()){
if(qbevent){evnt(28168,92,"sb_qb64pe_extension.bm");if(r)goto S_39045;}
do{
goto fornext_exit_4698;
if(!qbevent)break;evnt(28168,92,"sb_qb64pe_extension.bm");}while(r);
}
fornext_continue_4698:;
}
fornext_exit_4698:;
S_39049:;
if ((qbs_cleanup(qbs_tmp_base,-(*_SUB_WRITEBUFFERS_INTEGER_BUF>func_ubound(__ARRAY_STRING_SBUFN,1,1))))||is_error_pending()){
if(qbevent){evnt(28168,94,"sb_qb64pe_extension.bm");if(r)goto S_39049;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28168,94,"sb_qb64pe_extension.bm");}while(r);
}
S_39052:;
if ((FUNC_ISBUFCHANGED(_SUB_WRITEBUFFERS_INTEGER_BUF))||is_error_pending()){
if(qbevent){evnt(28168,95,"sb_qb64pe_extension.bm");if(r)goto S_39052;}
do{
SUB_BUFTOFILE(_SUB_WRITEBUFFERS_INTEGER_BUF,((qbs*)(((uint64*)(__ARRAY_STRING_SBUFN[0]))[array_check((*_SUB_WRITEBUFFERS_INTEGER_BUF)-__ARRAY_STRING_SBUFN[4],__ARRAY_STRING_SBUFN[5])])));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28168,95,"sb_qb64pe_extension.bm");}while(r);
}
}else{
S_39056:;
fornext_value4701= 0 ;
fornext_finalvalue4701=func_ubound(__ARRAY_STRING_SBUFN,1,1);
fornext_step4701= 1 ;
if (fornext_step4701<0) fornext_step_negative4701=1; else fornext_step_negative4701=0;
if (is_error_pending()) goto fornext_error4701;
goto fornext_entrylabel4701;
while(1){
fornext_value4701=fornext_step4701+(*_SUB_WRITEBUFFERS_INTEGER_BUF);
fornext_entrylabel4701:
*_SUB_WRITEBUFFERS_INTEGER_BUF=fornext_value4701;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4701){
if (fornext_value4701<fornext_finalvalue4701) break;
}else{
if (fornext_value4701>fornext_finalvalue4701) break;
}
fornext_error4701:;
if(qbevent){evnt(28168,97,"sb_qb64pe_extension.bm");if(r)goto S_39056;}
S_39057:;
if ((qbs_cleanup(qbs_tmp_base,qbs_notequal(((qbs*)(((uint64*)(__ARRAY_STRING_SBUFN[0]))[array_check((*_SUB_WRITEBUFFERS_INTEGER_BUF)-__ARRAY_STRING_SBUFN[4],__ARRAY_STRING_SBUFN[5])])),qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(28168,98,"sb_qb64pe_extension.bm");if(r)goto S_39057;}
S_39058:;
if ((FUNC_ISBUFCHANGED(_SUB_WRITEBUFFERS_INTEGER_BUF))||is_error_pending()){
if(qbevent){evnt(28168,99,"sb_qb64pe_extension.bm");if(r)goto S_39058;}
do{
SUB_BUFTOFILE(_SUB_WRITEBUFFERS_INTEGER_BUF,((qbs*)(((uint64*)(__ARRAY_STRING_SBUFN[0]))[array_check((*_SUB_WRITEBUFFERS_INTEGER_BUF)-__ARRAY_STRING_SBUFN[4],__ARRAY_STRING_SBUFN[5])])));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28168,99,"sb_qb64pe_extension.bm");}while(r);
}
}
fornext_continue_4700:;
}
fornext_exit_4700:;
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free205.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;
}
