qbs* FUNC_INICURRENTSECTION(){
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 "data163.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(28167,260,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,262,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,263,"ini.bm");}while(r);
do{
*_FUNC_INICURRENTSECTION_ULONG_GLOBALPOSITION=func_instr(NULL,__STRING_INIWHOLEFILE,__STRING_INISECTIONDATA,0)+*__ULONG_INIPOSITION- 1 ;
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,265,"ini.bm");}while(r);
LABEL_CHECKSECTION:;
if(qbevent){evnt(28167,267,"ini.bm");r=0;}
S_37978:;
fornext_value4571=*_FUNC_INICURRENTSECTION_ULONG_GLOBALPOSITION- 1 ;
fornext_finalvalue4571= 1 ;
fornext_step4571= -1 ;
if (fornext_step4571<0) fornext_step_negative4571=1; else fornext_step_negative4571=0;
if (is_error_pending()) goto fornext_error4571;
goto fornext_entrylabel4571;
while(1){
fornext_value4571=fornext_step4571+(*_FUNC_INICURRENTSECTION_ULONG_I);
fornext_entrylabel4571:
*_FUNC_INICURRENTSECTION_ULONG_I=fornext_value4571;
if (fornext_step_negative4571){
if (fornext_value4571<fornext_finalvalue4571) break;
}else{
if (fornext_value4571>fornext_finalvalue4571) break;
}
fornext_error4571:;
if(qbevent){evnt(28167,268,"ini.bm");if(r)goto S_37978;}
S_37979:;
if ((qbs_cleanup(qbs_tmp_base,-(qbs_asc(__STRING_INIWHOLEFILE,*_FUNC_INICURRENTSECTION_ULONG_I)==qbs_asc(qbs_new_txt_len("[",1)))))||is_error_pending()){
if(qbevent){evnt(28167,269,"ini.bm");if(r)goto S_37979;}
do{
*_FUNC_INICURRENTSECTION_ULONG_GLOBALPOSITION=*_FUNC_INICURRENTSECTION_ULONG_I;
if(!qbevent)break;evnt(28167,270,"ini.bm");}while(r);
do{
goto fornext_exit_4570;
if(!qbevent)break;evnt(28167,270,"ini.bm");}while(r);
}
fornext_continue_4570:;
}
fornext_exit_4570:;
S_37984:;
if ((-(*_FUNC_INICURRENTSECTION_ULONG_I== 0 ))||is_error_pending()){
if(qbevent){evnt(28167,274,"ini.bm");if(r)goto S_37984;}
do{
qbs_set(_FUNC_INICURRENTSECTION_STRING_INICURRENTSECTION,qbs_new_txt_len("[]",2));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,274,"ini.bm");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,274,"ini.bm");}while(r);
}
S_37988:;
fornext_value4573=*_FUNC_INICURRENTSECTION_ULONG_GLOBALPOSITION- 1 ;
fornext_finalvalue4573= 1 ;
fornext_step4573= -1 ;
if (fornext_step4573<0) fornext_step_negative4573=1; else fornext_step_negative4573=0;
if (is_error_pending()) goto fornext_error4573;
goto fornext_entrylabel4573;
while(1){
fornext_value4573=fornext_step4573+(*_FUNC_INICURRENTSECTION_ULONG_I);
fornext_entrylabel4573:
*_FUNC_INICURRENTSECTION_ULONG_I=fornext_value4573;
if (fornext_step_negative4573){
if (fornext_value4573<fornext_finalvalue4573) break;
}else{
if (fornext_value4573>fornext_finalvalue4573) break;
}
fornext_error4573:;
if(qbevent){evnt(28167,277,"ini.bm");if(r)goto S_37988;}
S_37989:;
if ((qbs_cleanup(qbs_tmp_base,-(qbs_asc(__STRING_INIWHOLEFILE,*_FUNC_INICURRENTSECTION_ULONG_I)== 10 )))||is_error_pending()){
if(qbevent){evnt(28167,278,"ini.bm");if(r)goto S_37989;}
do{
goto fornext_exit_4572;
if(!qbevent)break;evnt(28167,278,"ini.bm");}while(r);
}
S_37992:;
if ((qbs_cleanup(qbs_tmp_base,(-(qbs_asc(__STRING_INIWHOLEFILE,*_FUNC_INICURRENTSECTION_ULONG_I)!= 10 ))&(-(qbs_asc(__STRING_INIWHOLEFILE,*_FUNC_INICURRENTSECTION_ULONG_I)!= 32 ))))||is_error_pending()){
if(qbevent){evnt(28167,279,"ini.bm");if(r)goto S_37992;}
do{
goto LABEL_CHECKSECTION;
if(!qbevent)break;evnt(28167,281,"ini.bm");}while(r);
}
fornext_continue_4572:;
}
fornext_exit_4572:;
do{
*_FUNC_INICURRENTSECTION_ULONG_CLOSINGBRACKET=func_instr(*_FUNC_INICURRENTSECTION_ULONG_GLOBALPOSITION,__STRING_INIWHOLEFILE,qbs_new_txt_len("]",1),0|1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,285,"ini.bm");}while(r);
S_37997:;
if ((-(*_FUNC_INICURRENTSECTION_ULONG_CLOSINGBRACKET> 0 ))||is_error_pending()){
if(qbevent){evnt(28167,286,"ini.bm");if(r)goto S_37997;}
do{
qbs_set(_FUNC_INICURRENTSECTION_STRING_INICURRENTSECTION,func_mid(__STRING_INIWHOLEFILE,*_FUNC_INICURRENTSECTION_ULONG_GLOBALPOSITION,*_FUNC_INICURRENTSECTION_ULONG_CLOSINGBRACKET-*_FUNC_INICURRENTSECTION_ULONG_GLOBALPOSITION+ 1 ,0|1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,287,"ini.bm");}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free163.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;
qbs_maketmp(_FUNC_INICURRENTSECTION_STRING_INICURRENTSECTION);return _FUNC_INICURRENTSECTION_STRING_INICURRENTSECTION;
}
