PRInt32 index = 0; return wallet_ReadFromList(item1, item2, itemList, list, obscure, index);
PRInt32 localIndex = 0; if (!index) index = &localIndex;  if (!list || (*index == -1)) { return PR_FALSE; }   wallet_MapElement * ptr; item1.ToLowerCase(); PRInt32 count = LIST_COUNT(list); for (PRInt32 i=*index; i<count; i++) { ptr = NS_STATIC_CAST(wallet_MapElement*, list->ElementAt(i)); if((ptr->item1.Compare(item1))==0) { if (obscure) { if (NS_FAILED(Wallet_Decrypt(ptr->item2, item2))) { return PR_FALSE; } } else { item2 = nsAutoString(ptr->item2); } itemList = ptr->itemList; *index = i+1; if (*index == count) { *index = -1; } return PR_TRUE; } } *index = 0; return PR_FALSE;
wallet_ReadFromList(  nsAutoString item1,  nsAutoString& item2,  nsVoidArray*& itemList,  nsVoidArray*& list,  PRBool obscure){  PRInt32 index = 0;  return wallet_ReadFromList(item1, item2, itemList, list, obscure, index);}