int MachOBinaryFile::machORead4(int* pi) const{
	short* p = (short*)pi;
	int n1 = machORead2(p);
	int n2 = machORead2(p+1);
	int n = (int) (n2 | (n1 << 16));
	return n;
}
int MachOBinaryFile::machORead4(int* pi) const
{
    short* p = (short*)pi;
    int n1 = machORead2(p);
    int n2 = machORead2(p+1);
    int n;
    if (machine == MACHINE_PPC)
        n = (int) (n2 | (n1 << 16));
    else
        n = (int) (n1 | (n2 << 16));
    return n;
}
// Read 2 bytes from given native address
int MachOBinaryFile::readNative2(ADDRESS nat) {
	PSectionInfo si = GetSectionInfoByAddr(nat);
	if (si == 0) return 0;
	ADDRESS host = si->uHostAddr - si->uNativeAddr + nat;
	int n = machORead2((short*)host);
	return n;
}