qbs* FUNC_GETELEMENTSAFTER(qbs*_FUNC_GETELEMENTSAFTER_STRING_A,int32*_FUNC_GETELEMENTSAFTER_LONG_I1){
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 "data138.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(28165,121,"elements.bas");}while(r);
do{
*_FUNC_GETELEMENTSAFTER_LONG_N= 1 ;
if(!qbevent)break;evnt(28165,123,"elements.bas");}while(r);
do{
*_FUNC_GETELEMENTSAFTER_LONG_P= 1 ;
if(!qbevent)break;evnt(28165,124,"elements.bas");}while(r);
LABEL_GETELEMENTSNEXT:;
if(qbevent){evnt(28165,126,"elements.bas");r=0;}
do{
*_FUNC_GETELEMENTSAFTER_LONG_I=func_instr(*_FUNC_GETELEMENTSAFTER_LONG_P,_FUNC_GETELEMENTSAFTER_STRING_A,__STRING1_SP,0|1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28165,127,"elements.bas");}while(r);
S_36925:;
if ((-(*_FUNC_GETELEMENTSAFTER_LONG_N==*_FUNC_GETELEMENTSAFTER_LONG_I1))||is_error_pending()){
if(qbevent){evnt(28165,129,"elements.bas");if(r)goto S_36925;}
do{
qbs_set(_FUNC_GETELEMENTSAFTER_STRING_GETELEMENTSAFTER,qbs_right(_FUNC_GETELEMENTSAFTER_STRING_A,_FUNC_GETELEMENTSAFTER_STRING_A->len-*_FUNC_GETELEMENTSAFTER_LONG_P+ 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28165,130,"elements.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28165,131,"elements.bas");}while(r);
}
do{
*_FUNC_GETELEMENTSAFTER_LONG_N=*_FUNC_GETELEMENTSAFTER_LONG_N+ 1 ;
if(!qbevent)break;evnt(28165,134,"elements.bas");}while(r);
do{
*_FUNC_GETELEMENTSAFTER_LONG_P=*_FUNC_GETELEMENTSAFTER_LONG_I+ 1 ;
if(!qbevent)break;evnt(28165,135,"elements.bas");}while(r);
do{
goto LABEL_GETELEMENTSNEXT;
if(!qbevent)break;evnt(28165,136,"elements.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free138.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;
qbs_maketmp(_FUNC_GETELEMENTSAFTER_STRING_GETELEMENTSAFTER);return _FUNC_GETELEMENTSAFTER_STRING_GETELEMENTSAFTER;
}
