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 "data178.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(25755,88,"sb_qb64pe_extension.bm");}while(r);
S_36324:;
if ((qbs_cleanup(qbs_tmp_base,qbs_notequal(_SUB_WRITEBUFFERS_STRING_SBNAME,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(25755,90,"sb_qb64pe_extension.bm");if(r)goto S_36324;}
S_36325:;
fornext_value4269= 0 ;
fornext_finalvalue4269=func_ubound(__ARRAY_STRING_SBUFN,1,1);
fornext_step4269= 1 ;
if (fornext_step4269<0) fornext_step_negative4269=1; else fornext_step_negative4269=0;
if (is_error_pending()) goto fornext_error4269;
goto fornext_entrylabel4269;
while(1){
fornext_value4269=fornext_step4269+(*_SUB_WRITEBUFFERS_INTEGER_BUF);
fornext_entrylabel4269:
*_SUB_WRITEBUFFERS_INTEGER_BUF=fornext_value4269;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4269){
if (fornext_value4269<fornext_finalvalue4269) break;
}else{
if (fornext_value4269>fornext_finalvalue4269) break;
}
fornext_error4269:;
if(qbevent){evnt(25755,91,"sb_qb64pe_extension.bm");if(r)goto S_36325;}
S_36326:;
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(25755,92,"sb_qb64pe_extension.bm");if(r)goto S_36326;}
do{
goto fornext_exit_4268;
if(!qbevent)break;evnt(25755,92,"sb_qb64pe_extension.bm");}while(r);
}
fornext_continue_4268:;
}
fornext_exit_4268:;
S_36330:;
if ((qbs_cleanup(qbs_tmp_base,-(*_SUB_WRITEBUFFERS_INTEGER_BUF>func_ubound(__ARRAY_STRING_SBUFN,1,1))))||is_error_pending()){
if(qbevent){evnt(25755,94,"sb_qb64pe_extension.bm");if(r)goto S_36330;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25755,94,"sb_qb64pe_extension.bm");}while(r);
}
S_36333:;
if ((FUNC_ISBUFCHANGED(_SUB_WRITEBUFFERS_INTEGER_BUF))||is_error_pending()){
if(qbevent){evnt(25755,95,"sb_qb64pe_extension.bm");if(r)goto S_36333;}
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(25755,95,"sb_qb64pe_extension.bm");}while(r);
}
}else{
S_36337:;
fornext_value4271= 0 ;
fornext_finalvalue4271=func_ubound(__ARRAY_STRING_SBUFN,1,1);
fornext_step4271= 1 ;
if (fornext_step4271<0) fornext_step_negative4271=1; else fornext_step_negative4271=0;
if (is_error_pending()) goto fornext_error4271;
goto fornext_entrylabel4271;
while(1){
fornext_value4271=fornext_step4271+(*_SUB_WRITEBUFFERS_INTEGER_BUF);
fornext_entrylabel4271:
*_SUB_WRITEBUFFERS_INTEGER_BUF=fornext_value4271;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4271){
if (fornext_value4271<fornext_finalvalue4271) break;
}else{
if (fornext_value4271>fornext_finalvalue4271) break;
}
fornext_error4271:;
if(qbevent){evnt(25755,97,"sb_qb64pe_extension.bm");if(r)goto S_36337;}
S_36338:;
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(25755,98,"sb_qb64pe_extension.bm");if(r)goto S_36338;}
S_36339:;
if ((FUNC_ISBUFCHANGED(_SUB_WRITEBUFFERS_INTEGER_BUF))||is_error_pending()){
if(qbevent){evnt(25755,99,"sb_qb64pe_extension.bm");if(r)goto S_36339;}
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(25755,99,"sb_qb64pe_extension.bm");}while(r);
}
}
fornext_continue_4270:;
}
fornext_exit_4270:;
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free178.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;
}
