qbs *_FUNC_GETELEMENTSBEFORE_STRING_GETELEMENTSBEFORE=NULL;
if (!_FUNC_GETELEMENTSBEFORE_STRING_GETELEMENTSBEFORE)_FUNC_GETELEMENTSBEFORE_STRING_GETELEMENTSBEFORE=qbs_new(0,0);
qbs*oldstr3995=NULL;
if(_FUNC_GETELEMENTSBEFORE_STRING_A->tmp||_FUNC_GETELEMENTSBEFORE_STRING_A->fixed||_FUNC_GETELEMENTSBEFORE_STRING_A->readonly){
oldstr3995=_FUNC_GETELEMENTSBEFORE_STRING_A;
if (oldstr3995->cmem_descriptor){
_FUNC_GETELEMENTSBEFORE_STRING_A=qbs_new_cmem(oldstr3995->len,0);
}else{
_FUNC_GETELEMENTSBEFORE_STRING_A=qbs_new(oldstr3995->len,0);
}
memcpy(_FUNC_GETELEMENTSBEFORE_STRING_A->chr,oldstr3995->chr,oldstr3995->len);
}
int32 pass3996;
