void SUB_INILOAD(qbs*_SUB_INILOAD_STRING_FILE){
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;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(28167,489,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,490,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,491,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,492,"ini.bm");}while(r);
do{
*__LONG_INICODE= 0 ;
if(!qbevent)break;evnt(28167,495,"ini.bm");}while(r);
S_38173:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_notequal(_SUB_INILOAD_STRING_FILE,qbs_new_txt_len("",0)))&(qbs_notequal(__STRING_CURRENTINIFILENAME,_SUB_INILOAD_STRING_FILE))))||is_error_pending()){
if(qbevent){evnt(28167,497,"ini.bm");if(r)goto S_38173;}
do{
qbs_set(__STRING_CURRENTINIFILENAME,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,497,"ini.bm");}while(r);
}
S_38176:;
if ((qbs_cleanup(qbs_tmp_base,*__LONG_INIFORCERELOAD&(-(__STRING_CURRENTINIFILENAME->len> 0 ))))||is_error_pending()){
if(qbevent){evnt(28167,499,"ini.bm");if(r)goto S_38176;}
do{
qbs_set(_SUB_INILOAD_STRING_FILE,__STRING_CURRENTINIFILENAME);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,500,"ini.bm");}while(r);
do{
qbs_set(__STRING_CURRENTINIFILENAME,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,501,"ini.bm");}while(r);
}
S_38180:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(__STRING_CURRENTINIFILENAME,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(28167,506,"ini.bm");if(r)goto S_38180;}
S_38181:;
if ((qbs_cleanup(qbs_tmp_base,func__fileexists(_SUB_INILOAD_STRING_FILE)))||is_error_pending()){
if(qbevent){evnt(28167,508,"ini.bm");if(r)goto S_38181;}
do{
qbs_set(__STRING_CURRENTINIFILENAME,_SUB_INILOAD_STRING_FILE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,509,"ini.bm");}while(r);
do{
*_SUB_INILOAD_INTEGER_FILENUM=func_freefile();
if(!qbevent)break;evnt(28167,512,"ini.bm");}while(r);
do{
sub_open(__STRING_CURRENTINIFILENAME, 2 ,NULL,NULL,*_SUB_INILOAD_INTEGER_FILENUM,NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,513,"ini.bm");}while(r);
do{
*__ULONG_CURRENTINIFILELOF=func_lof(*_SUB_INILOAD_INTEGER_FILENUM);
if(!qbevent)break;evnt(28167,514,"ini.bm");}while(r);
do{
qbs_set(__STRING_INIWHOLEFILE,func_space(*__ULONG_CURRENTINIFILELOF));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,515,"ini.bm");}while(r);
do{
sub_get2(*_SUB_INILOAD_INTEGER_FILENUM, 1 ,__STRING_INIWHOLEFILE,1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,516,"ini.bm");}while(r);
do{
sub_close(*_SUB_INILOAD_INTEGER_FILENUM,1);
if(!qbevent)break;evnt(28167,517,"ini.bm");}while(r);
S_38189:;
if ((qbs_cleanup(qbs_tmp_base,func_instr(NULL,__STRING_INIWHOLEFILE,func_chr( 13 ),0)))||is_error_pending()){
if(qbevent){evnt(28167,520,"ini.bm");if(r)goto S_38189;}
do{
qbs_set(__STRING_INILF,qbs_add(func_chr( 13 ),func_chr( 10 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,520,"ini.bm");}while(r);
}else{
do{
qbs_set(__STRING_INILF,func_chr( 10 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,520,"ini.bm");}while(r);
}
}else{
LABEL_INIFILENOTFOUND:;
if(qbevent){evnt(28167,522,"ini.bm");r=0;}
do{
*__LONG_INICODE= 1 ;
if(!qbevent)break;evnt(28167,523,"ini.bm");}while(r);
do{
qbs_set(__STRING_INILF,func_chr( 10 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,528,"ini.bm");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,530,"ini.bm");}while(r);
}
S_38199:;
}else{
if (qbs_cleanup(qbs_tmp_base,~(func__fileexists(__STRING_CURRENTINIFILENAME)))){
if(qbevent){evnt(28167,532,"ini.bm");if(r)goto S_38199;}
do{
qbs_set(__STRING_CURRENTINIFILENAME,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,533,"ini.bm");}while(r);
do{
goto LABEL_INIFILENOTFOUND;
if(!qbevent)break;evnt(28167,534,"ini.bm");}while(r);
}
}
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;
}
