+ p = sskip(p);
+ if (*p == 0 || *p == ';')
+ goto pass; // need at least 5 words
+
+ p = next_word(word5, sizeof(word5), p);
+
+ p = sskip(p);
+ if (*p == 0 || *p == ';')
+ goto pass; // need at least 6 words
+
+ p = next_word(word6, sizeof(word6), p);
+
+ // <op> dword ptr <something>, offset <sym>
+ if ( IS(word2, "dword") && IS(word3, "ptr")
+ && IS(word5, "offset") ) {
+ ssym.name = word6;
+ sym = bsearch(&ssym, symlist, symlist_cnt,
+ sizeof(symlist[0]), cmp_sym);
+ if (sym != NULL && sym->callsites) {
+ fprintf(fout, "\t\t%s\tdword ptr %s offset %s%s",
+ word, word4, sym_use(sym), p);
+ continue;
+ }
+ }
+