int32 FUNC_HASHFINDREV(qbs*_FUNC_HASHFINDREV_STRING_A,int32*_FUNC_HASHFINDREV_LONG_SEARCHFLAGS,int32*_FUNC_HASHFINDREV_LONG_RESULTFLAGS,int32*_FUNC_HASHFINDREV_LONG_RESULTREFERENCE){
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 "data241.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{
*_FUNC_HASHFINDREV_LONG_I=((int32*)(__ARRAY_LONG_HASHTABLE[0]))[array_check((FUNC_HASHVALUE(_FUNC_HASHFINDREV_STRING_A))-__ARRAY_LONG_HASHTABLE[4],__ARRAY_LONG_HASHTABLE[5])];
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28170,122,"hash.bas");}while(r);
S_40353:;
if ((*_FUNC_HASHFINDREV_LONG_I)||is_error_pending()){
if(qbevent){evnt(28170,123,"hash.bas");if(r)goto S_40353;}
do{
*_FUNC_HASHFINDREV_LONG_I=*(int32*)(((char*)__ARRAY_UDT_HASHLIST[0])+(((array_check((*_FUNC_HASHFINDREV_LONG_I)-__ARRAY_UDT_HASHLIST[4],__ARRAY_UDT_HASHLIST[5]))*20+16)));
if(!qbevent)break;evnt(28170,124,"hash.bas");}while(r);
do{
qbs_set(_FUNC_HASHFINDREV_STRING_UA,qbs_add(qbs_ucase(_FUNC_HASHFINDREV_STRING_A),func_space( 256 -_FUNC_HASHFINDREV_STRING_A->len)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28170,125,"hash.bas");}while(r);
LABEL_HASHFINDREV_NEXT:;
if(qbevent){evnt(28170,126,"hash.bas");r=0;}
do{
*_FUNC_HASHFINDREV_LONG_F=*(int32*)(((char*)__ARRAY_UDT_HASHLIST[0])+(((array_check((*_FUNC_HASHFINDREV_LONG_I)-__ARRAY_UDT_HASHLIST[4],__ARRAY_UDT_HASHLIST[5]))*20+0)));
if(!qbevent)break;evnt(28170,127,"hash.bas");}while(r);
S_40357:;
if ((*_FUNC_HASHFINDREV_LONG_SEARCHFLAGS&*_FUNC_HASHFINDREV_LONG_F)||is_error_pending()){
if(qbevent){evnt(28170,128,"hash.bas");if(r)goto S_40357;}
S_40358:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(qbs_new_fixed(&((uint8*)(__ARRAY_STRING256_HASHLISTNAME[0]))[(array_check((*_FUNC_HASHFINDREV_LONG_I)-__ARRAY_STRING256_HASHLISTNAME[4],__ARRAY_STRING256_HASHLISTNAME[5]))*256],256,1),_FUNC_HASHFINDREV_STRING_UA)))||is_error_pending()){
if(qbevent){evnt(28170,129,"hash.bas");if(r)goto S_40358;}
do{
*_FUNC_HASHFINDREV_LONG_RESULTFLAGS=*_FUNC_HASHFINDREV_LONG_F;
if(!qbevent)break;evnt(28170,130,"hash.bas");}while(r);
do{
*_FUNC_HASHFINDREV_LONG_RESULTREFERENCE=*(int32*)(((char*)__ARRAY_UDT_HASHLIST[0])+(((array_check((*_FUNC_HASHFINDREV_LONG_I)-__ARRAY_UDT_HASHLIST[4],__ARRAY_UDT_HASHLIST[5]))*20+4)));
if(!qbevent)break;evnt(28170,131,"hash.bas");}while(r);
do{
*_FUNC_HASHFINDREV_LONG_I2=*(int32*)(((char*)__ARRAY_UDT_HASHLIST[0])+(((array_check((*_FUNC_HASHFINDREV_LONG_I)-__ARRAY_UDT_HASHLIST[4],__ARRAY_UDT_HASHLIST[5]))*20+12)));
if(!qbevent)break;evnt(28170,132,"hash.bas");}while(r);
S_40362:;
if ((*_FUNC_HASHFINDREV_LONG_I2)||is_error_pending()){
if(qbevent){evnt(28170,133,"hash.bas");if(r)goto S_40362;}
do{
*_FUNC_HASHFINDREV_LONG_HASHFINDREV= 2 ;
if(!qbevent)break;evnt(28170,134,"hash.bas");}while(r);
do{
*__LONG_HASHFIND_NEXTLISTITEM=*_FUNC_HASHFINDREV_LONG_I2;
if(!qbevent)break;evnt(28170,135,"hash.bas");}while(r);
do{
*__LONG_HASHFIND_REVERSE= 1 ;
if(!qbevent)break;evnt(28170,136,"hash.bas");}while(r);
do{
*__LONG_HASHFIND_SEARCHFLAGS=*_FUNC_HASHFINDREV_LONG_SEARCHFLAGS;
if(!qbevent)break;evnt(28170,137,"hash.bas");}while(r);
do{
qbs_set(__STRING_HASHFIND_NAME,_FUNC_HASHFINDREV_STRING_UA);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28170,138,"hash.bas");}while(r);
do{
*__LONG_HASHREMOVE_LASTFOUND=*_FUNC_HASHFINDREV_LONG_I;
if(!qbevent)break;evnt(28170,139,"hash.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28170,140,"hash.bas");}while(r);
}else{
do{
*_FUNC_HASHFINDREV_LONG_HASHFINDREV= 1 ;
if(!qbevent)break;evnt(28170,142,"hash.bas");}while(r);
do{
*__LONG_HASHREMOVE_LASTFOUND=*_FUNC_HASHFINDREV_LONG_I;
if(!qbevent)break;evnt(28170,143,"hash.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28170,144,"hash.bas");}while(r);
}
}
}
do{
*_FUNC_HASHFINDREV_LONG_I=*(int32*)(((char*)__ARRAY_UDT_HASHLIST[0])+(((array_check((*_FUNC_HASHFINDREV_LONG_I)-__ARRAY_UDT_HASHLIST[4],__ARRAY_UDT_HASHLIST[5]))*20+12)));
if(!qbevent)break;evnt(28170,148,"hash.bas");}while(r);
S_40378:;
if ((*_FUNC_HASHFINDREV_LONG_I)||is_error_pending()){
if(qbevent){evnt(28170,149,"hash.bas");if(r)goto S_40378;}
do{
goto LABEL_HASHFINDREV_NEXT;
if(!qbevent)break;evnt(28170,149,"hash.bas");}while(r);
}
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free241.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_HASHFINDREV_LONG_HASHFINDREV;
}
