int32 FUNC_IDEWATCHOFFSET(qbs*_FUNC_IDEWATCHOFFSET_STRING_REFERENCETEXT,int32*_FUNC_IDEWATCHOFFSET_LONG_OK){
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 "data342.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(28182,10516,"ide_methods.bas");}while(r);
do{
if(!qbevent)break;evnt(28182,10517,"ide_methods.bas");}while(r);
do{
if(!qbevent)break;evnt(28182,10518,"ide_methods.bas");}while(r);
do{
if(!qbevent)break;evnt(28182,10519,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEWATCHOFFSET_LONG_OK= 0 ;
if(!qbevent)break;evnt(28182,10521,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEWATCHOFFSET_STRING_OFFSETTEXT,func_mid(_FUNC_IDEWATCHOFFSET_STRING_REFERENCETEXT,func__instrrev(NULL,_FUNC_IDEWATCHOFFSET_STRING_REFERENCETEXT,__STRING1_SP3,0)+1,NULL,0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,10522,"ide_methods.bas");}while(r);
S_55503:;
if ((qbs_cleanup(qbs_tmp_base,-(_FUNC_IDEWATCHOFFSET_STRING_OFFSETTEXT->len== 0 )))||is_error_pending()){
if(qbevent){evnt(28182,10523,"ide_methods.bas");if(r)goto S_55503;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,10523,"ide_methods.bas");}while(r);
}
do{
*__LONG_ERROR_HAPPENED= 0 ;
if(!qbevent)break;evnt(28182,10525,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEWATCHOFFSET_STRING_EVALTEXT,FUNC_EVALUATE_EXPRESSION(FUNC_LINEFORMAT(_FUNC_IDEWATCHOFFSET_STRING_OFFSETTEXT),(void*)( ((char*)(_FUNC_IDEWATCHOFFSET_UDT_PARSEDNUMBER)) + ((0+0)) )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,10526,"ide_methods.bas");}while(r);
S_55508:;
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
if(qbevent){evnt(28182,10527,"ide_methods.bas");if(r)goto S_55508;}
do{
*__LONG_ERROR_HAPPENED= 0 ;
if(!qbevent)break;evnt(28182,10528,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,10529,"ide_methods.bas");}while(r);
}
S_55512:;
if ((qbs_cleanup(qbs_tmp_base,func_instr(NULL,qbs_ucase(_FUNC_IDEWATCHOFFSET_STRING_EVALTEXT),qbs_new_txt_len("ERROR",5),0)))||is_error_pending()){
if(qbevent){evnt(28182,10531,"ide_methods.bas");if(r)goto S_55512;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,10531,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEWATCHOFFSET_INTEGER64_OFFSETVALUE=*(int64*)(((char*)_FUNC_IDEWATCHOFFSET_UDT_PARSEDNUMBER)+((0+32)));
if(!qbevent)break;evnt(28182,10533,"ide_methods.bas");}while(r);
S_55516:;
if (((-(*_FUNC_IDEWATCHOFFSET_INTEGER64_OFFSETVALUE< 0 ))|(-(*_FUNC_IDEWATCHOFFSET_INTEGER64_OFFSETVALUE> 2147483647 )))||is_error_pending()){
if(qbevent){evnt(28182,10534,"ide_methods.bas");if(r)goto S_55516;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,10534,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEWATCHOFFSET_LONG_IDEWATCHOFFSET=*_FUNC_IDEWATCHOFFSET_INTEGER64_OFFSETVALUE;
if(!qbevent)break;evnt(28182,10536,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEWATCHOFFSET_LONG_OK= -1 ;
if(!qbevent)break;evnt(28182,10537,"ide_methods.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free342.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_IDEWATCHOFFSET_LONG_IDEWATCHOFFSET;
}
