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 "data169.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(24221,88,"sb_qb64pe_extension.bm");}while(r);
S_34803:;
if ((qbs_cleanup(qbs_tmp_base,qbs_notequal(_SUB_WRITEBUFFERS_STRING_SBNAME,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(24221,90,"sb_qb64pe_extension.bm");if(r)goto S_34803;}
S_34804:;
fornext_value4038= 0 ;
fornext_finalvalue4038=func_ubound(__ARRAY_STRING_SBUFN,1,1);
fornext_step4038= 1 ;
if (fornext_step4038<0) fornext_step_negative4038=1; else fornext_step_negative4038=0;
if (is_error_pending()) goto fornext_error4038;
goto fornext_entrylabel4038;
while(1){
fornext_value4038=fornext_step4038+(*_SUB_WRITEBUFFERS_INTEGER_BUF);
fornext_entrylabel4038:
*_SUB_WRITEBUFFERS_INTEGER_BUF=fornext_value4038;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4038){
if (fornext_value4038<fornext_finalvalue4038) break;
}else{
if (fornext_value4038>fornext_finalvalue4038) break;
}
fornext_error4038:;
if(qbevent){evnt(24221,91,"sb_qb64pe_extension.bm");if(r)goto S_34804;}
S_34805:;
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(24221,92,"sb_qb64pe_extension.bm");if(r)goto S_34805;}
do{
goto fornext_exit_4037;
if(!qbevent)break;evnt(24221,92,"sb_qb64pe_extension.bm");}while(r);
}
fornext_continue_4037:;
}
fornext_exit_4037:;
S_34809:;
if ((qbs_cleanup(qbs_tmp_base,-(*_SUB_WRITEBUFFERS_INTEGER_BUF>func_ubound(__ARRAY_STRING_SBUFN,1,1))))||is_error_pending()){
if(qbevent){evnt(24221,94,"sb_qb64pe_extension.bm");if(r)goto S_34809;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24221,94,"sb_qb64pe_extension.bm");}while(r);
}
S_34812:;
if ((FUNC_ISBUFCHANGED(_SUB_WRITEBUFFERS_INTEGER_BUF))||is_error_pending()){
if(qbevent){evnt(24221,95,"sb_qb64pe_extension.bm");if(r)goto S_34812;}
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(24221,95,"sb_qb64pe_extension.bm");}while(r);
}
}else{
S_34816:;
fornext_value4040= 0 ;
fornext_finalvalue4040=func_ubound(__ARRAY_STRING_SBUFN,1,1);
fornext_step4040= 1 ;
if (fornext_step4040<0) fornext_step_negative4040=1; else fornext_step_negative4040=0;
if (is_error_pending()) goto fornext_error4040;
goto fornext_entrylabel4040;
while(1){
fornext_value4040=fornext_step4040+(*_SUB_WRITEBUFFERS_INTEGER_BUF);
fornext_entrylabel4040:
*_SUB_WRITEBUFFERS_INTEGER_BUF=fornext_value4040;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4040){
if (fornext_value4040<fornext_finalvalue4040) break;
}else{
if (fornext_value4040>fornext_finalvalue4040) break;
}
fornext_error4040:;
if(qbevent){evnt(24221,97,"sb_qb64pe_extension.bm");if(r)goto S_34816;}
S_34817:;
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(24221,98,"sb_qb64pe_extension.bm");if(r)goto S_34817;}
S_34818:;
if ((FUNC_ISBUFCHANGED(_SUB_WRITEBUFFERS_INTEGER_BUF))||is_error_pending()){
if(qbevent){evnt(24221,99,"sb_qb64pe_extension.bm");if(r)goto S_34818;}
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(24221,99,"sb_qb64pe_extension.bm");}while(r);
}
}
fornext_continue_4039:;
}
fornext_exit_4039:;
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free169.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;
}
