void SUB_SORT(ptrszint*_SUB_SORT_ARRAY_STRING998_ARR){
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 "data425.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;
S_66789:;
fornext_value7679=func_lbound(_SUB_SORT_ARRAY_STRING998_ARR,1,1)+ 1 ;
fornext_finalvalue7679=func_ubound(_SUB_SORT_ARRAY_STRING998_ARR,1,1);
fornext_step7679= 1 ;
if (fornext_step7679<0) fornext_step_negative7679=1; else fornext_step_negative7679=0;
if (is_error_pending()) goto fornext_error7679;
goto fornext_entrylabel7679;
while(1){
fornext_value7679=fornext_step7679+(*_SUB_SORT_LONG_I);
fornext_entrylabel7679:
*_SUB_SORT_LONG_I=fornext_value7679;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative7679){
if (fornext_value7679<fornext_finalvalue7679) break;
}else{
if (fornext_value7679>fornext_finalvalue7679) break;
}
fornext_error7679:;
if(qbevent){evnt(28182,20635,"ide_methods.bas");if(r)goto S_66789;}
do{
qbs_set(_SUB_SORT_STRING_X,qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[(array_check((*_SUB_SORT_LONG_I)-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]))*998],998,1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,20636,"ide_methods.bas");}while(r);
do{
*_SUB_SORT_LONG_J=*_SUB_SORT_LONG_I- 1 ;
if(!qbevent)break;evnt(28182,20637,"ide_methods.bas");}while(r);
S_66792:;
while((qbs_cleanup(qbs_tmp_base,-(*_SUB_SORT_LONG_J>=func_lbound(_SUB_SORT_ARRAY_STRING998_ARR,1,1))))||is_error_pending()){
if(qbevent){evnt(28182,20638,"ide_methods.bas");if(r)goto S_66792;}
S_66793:;
if ((qbs_cleanup(qbs_tmp_base,qbs_lessorequal(qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[(array_check((*_SUB_SORT_LONG_J)-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]))*998],998,1),_SUB_SORT_STRING_X)))||is_error_pending()){
if(qbevent){evnt(28182,20639,"ide_methods.bas");if(r)goto S_66793;}
do{
goto ww_exit_7680;
if(!qbevent)break;evnt(28182,20639,"ide_methods.bas");}while(r);
}
do{
tmp_long=array_check((*_SUB_SORT_LONG_J+ 1 )-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]);
if (!is_error_pending()) qbs_set(qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[tmp_long*998],998,1),qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[(array_check((*_SUB_SORT_LONG_J)-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]))*998],998,1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,20640,"ide_methods.bas");}while(r);
do{
*_SUB_SORT_LONG_J=*_SUB_SORT_LONG_J- 1 ;
if(!qbevent)break;evnt(28182,20641,"ide_methods.bas");}while(r);
ww_continue_7680:;
}
ww_exit_7680:;
do{
tmp_long=array_check((*_SUB_SORT_LONG_J+ 1 )-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]);
if (!is_error_pending()) qbs_set(qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[tmp_long*998],998,1),_SUB_SORT_STRING_X);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,20643,"ide_methods.bas");}while(r);
fornext_continue_7678:;
}
fornext_exit_7678:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free425.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;
}
