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 "data163.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(24221,906,"simplebuffer.bm");}while(r);
do{
*_FUNC_FREEID_LONG_BUF=*_FUNC_FREEID_INTEGER_HANDLE* 106 ;
if(!qbevent)break;evnt(24221,908,"simplebuffer.bm");}while(r);
do{
*_FUNC_FREEID_INTEGER_FREEID= -2ll ;
if(!qbevent)break;evnt(24221,908,"simplebuffer.bm");}while(r);
S_34669:;
fornext_value4013= 1 ;
fornext_finalvalue4013= 100 ;
fornext_step4013= 1 ;
if (fornext_step4013<0) fornext_step_negative4013=1; else fornext_step_negative4013=0;
if (is_error_pending()) goto fornext_error4013;
goto fornext_entrylabel4013;
while(1){
fornext_value4013=fornext_step4013+(*_FUNC_FREEID_INTEGER_IDX);
fornext_entrylabel4013:
*_FUNC_FREEID_INTEGER_IDX=fornext_value4013;
if (fornext_step_negative4013){
if (fornext_value4013<fornext_finalvalue4013) break;
}else{
if (fornext_value4013>fornext_finalvalue4013) break;
}
fornext_error4013:;
if(qbevent){evnt(24221,909,"simplebuffer.bm");if(r)goto S_34669;}
S_34670:;
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(24221,910,"simplebuffer.bm");if(r)goto S_34670;}
do{
*_FUNC_FREEID_INTEGER_FREEID=*_FUNC_FREEID_INTEGER_IDX;
if(!qbevent)break;evnt(24221,911,"simplebuffer.bm");}while(r);
do{
goto fornext_exit_4012;
if(!qbevent)break;evnt(24221,911,"simplebuffer.bm");}while(r);
}
fornext_continue_4012:;
}
fornext_exit_4012:;
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;
return *_FUNC_FREEID_INTEGER_FREEID;
}
