int16 FUNC_FREEID(int16*_FUNC_FREEID_INTEGER_HANDLE,int16*_FUNC_FREEID_INTEGER_SLOT){
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 "data199.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(28168,906,"simplebuffer.bm");}while(r);
do{
*_FUNC_FREEID_LONG_BUF=*_FUNC_FREEID_INTEGER_HANDLE* 106 ;
if(!qbevent)break;evnt(28168,908,"simplebuffer.bm");}while(r);
do{
*_FUNC_FREEID_INTEGER_FREEID= -2ll ;
if(!qbevent)break;evnt(28168,908,"simplebuffer.bm");}while(r);
S_38909:;
fornext_value4674= 1 ;
fornext_finalvalue4674= 100 ;
fornext_step4674= 1 ;
if (fornext_step4674<0) fornext_step_negative4674=1; else fornext_step_negative4674=0;
if (is_error_pending()) goto fornext_error4674;
goto fornext_entrylabel4674;
while(1){
fornext_value4674=fornext_step4674+(*_FUNC_FREEID_INTEGER_IDX);
fornext_entrylabel4674:
*_FUNC_FREEID_INTEGER_IDX=fornext_value4674;
if (fornext_step_negative4674){
if (fornext_value4674<fornext_finalvalue4674) break;
}else{
if (fornext_value4674>fornext_finalvalue4674) break;
}
fornext_error4674:;
if(qbevent){evnt(28168,909,"simplebuffer.bm");if(r)goto S_38909;}
S_38910:;
if ((qbs_cleanup(qbs_tmp_base,-(string2l(func_mid(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_FUNC_FREEID_LONG_BUF+*_FUNC_FREEID_INTEGER_SLOT)-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])),*_FUNC_FREEID_INTEGER_IDX* 4 , 4 ,0|1))== -889275714 )))||is_error_pending()){
if(qbevent){evnt(28168,910,"simplebuffer.bm");if(r)goto S_38910;}
do{
*_FUNC_FREEID_INTEGER_FREEID=*_FUNC_FREEID_INTEGER_IDX;
if(!qbevent)break;evnt(28168,911,"simplebuffer.bm");}while(r);
do{
goto fornext_exit_4673;
if(!qbevent)break;evnt(28168,911,"simplebuffer.bm");}while(r);
}
fornext_continue_4673:;
}
fornext_exit_4673:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free199.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;
return *_FUNC_FREEID_INTEGER_FREEID;
}
