void SUB_INICOMMIT(){
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 "data159.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,40,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,41,"ini.bm");}while(r);
S_37749:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(__STRING_CURRENTINIFILENAME,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(28167,43,"ini.bm");if(r)goto S_37749;}
do{
*__LONG_INICODE= 18 ;
if(!qbevent)break;evnt(28167,43,"ini.bm");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,43,"ini.bm");}while(r);
}
do{
qbs_set(__STRING_INIWHOLEFILE,__STRING_ININEWFILE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,45,"ini.bm");}while(r);
do{
*__ULONG_CURRENTINIFILELOF=__STRING_ININEWFILE->len;
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,46,"ini.bm");}while(r);
S_37755:;
if ((~(*__LONG_INIDISABLEAUTOCOMMIT))||is_error_pending()){
if(qbevent){evnt(28167,48,"ini.bm");if(r)goto S_37755;}
do{
if(!qbevent)break;evnt(28167,49,"ini.bm");}while(r);
do{
*_SUB_INICOMMIT_INTEGER_FILENUM=func_freefile();
if(!qbevent)break;evnt(28167,51,"ini.bm");}while(r);
do{
sub_open(__STRING_CURRENTINIFILENAME, 2 ,NULL,NULL,*_SUB_INICOMMIT_INTEGER_FILENUM,NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,52,"ini.bm");}while(r);
S_37759:;
if ((qbs_cleanup(qbs_tmp_base,-(__STRING_INIWHOLEFILE->len<func_lof(*_SUB_INICOMMIT_INTEGER_FILENUM))))||is_error_pending()){
if(qbevent){evnt(28167,54,"ini.bm");if(r)goto S_37759;}
do{
sub_close(*_SUB_INICOMMIT_INTEGER_FILENUM,1);
if(!qbevent)break;evnt(28167,55,"ini.bm");}while(r);
do{
sub_open(__STRING_CURRENTINIFILENAME, 4 ,NULL,NULL,*_SUB_INICOMMIT_INTEGER_FILENUM,NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,56,"ini.bm");}while(r);
do{
sub_close(*_SUB_INICOMMIT_INTEGER_FILENUM,1);
if(!qbevent)break;evnt(28167,56,"ini.bm");}while(r);
do{
sub_open(__STRING_CURRENTINIFILENAME, 2 ,NULL,NULL,*_SUB_INICOMMIT_INTEGER_FILENUM,NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,57,"ini.bm");}while(r);
}
do{
sub_put2(*_SUB_INICOMMIT_INTEGER_FILENUM, 1 ,byte_element((uint64)__STRING_ININEWFILE->chr,__STRING_ININEWFILE->len,byte_element_4543),1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,60,"ini.bm");}while(r);
do{
sub_close(*_SUB_INICOMMIT_INTEGER_FILENUM,1);
if(!qbevent)break;evnt(28167,61,"ini.bm");}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free159.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;
}
